automatically sync end tag with beginning tag
If you mistype a tag name and want to correct that name is there a keyboard shortcut to change the matching end tag as well.
Example
I type <dib> webstorm auto creates closing tag </dib> now I change the beginning tag to <div> and I would like the closing tag to auto change to </div>
Thanks,
Dan
Please sign in to leave a comment.
Hi there,
Yes -- just use standard "Refactor | Rename" on it.
Thanks,
I understand I can use refactor I was just thinking it would be nice to have begin and end tags automitically kept in sync or at least an option to do so.
Mistyping a tag name is common and when you want to correct it you have to correct the end tag manually or by going to refactor wich is time consuming verse just typing in the correct name in the begin tag and have the name for the end tag change while you type.
If you don't like using Rename refactoring here and would like to have the closing tag being updated automatically just on typing, please, vote for http://youtrack.jetbrains.com/issue/WEB-432