Vscode: [html] modifying ending tags automatically

Created on 30 Aug 2016  路  10Comments  路  Source: microsoft/vscode

Steps to Reproduce:

  1. Have this in your html code: <h5>Hello, World</h5>
  2. Now try to modify h5 to H6 in the starting tag
  3. The ending tag doesn't automatically change to H6 like it does in webstorm
feature-request html

Most helpful comment

@aeschli Understood, but this is something every paid editor out there implements. VSCode is better than many of them but this is one feature I sorely miss!

All 10 comments

feature request? thats a bug...

How can I tell if this is currently being worked on / If i can contribute? I wanted to look into this.

It's not being worked on. You're help is highly welcome, but the functionality yur request is quite tricky to implement in our architecture.
The knowledge of matching tags is only in the language server, implemented here, while the changes to open documents would have to be made in the html extension or even in the renderer.

@aeschli Thanks for giving me a starting point. I'll report back here if I am successful.

@aeschli Understood, but this is something every paid editor out there implements. VSCode is better than many of them but this is one feature I sorely miss!

+1

@aeschli the extension ( even though helpful ) seems to still have odd quirks ( typing too fast bug / performance issues sometimes ).

Even though this is closed would PR'S still be accepted for native support? I wouldn't mind trying with that extension as a a base as I have more time over the holidays.

@kenisteward Yes sure, that would be cool! And I'm sure also @formulahendry welcomes help with the auto-rename extension. Please don't forget to file the issues you found there.

+1. Still no built-in support yet?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

vsccarl picture vsccarl  路  3Comments

sijad picture sijad  路  3Comments

trstringer picture trstringer  路  3Comments