Suggestion to html pencil tool on element nodes

When you select an element in html the pencil tool gives you a few options one of them being "Remove 'tag' and promote children", I think it would be useful if there was one for "Remove 'tag' and all children".

When deleting large blocks of html from a file it's very easy to delete an extra closing tag or 2, or leave in an extra and compeltely screw up your layout. It would be nice to be able to use resharper for that not just when I want to just remove the outer tag (this happens far less often than me wanting to remove an entire tag)

1 comment

Hello,

When deleting large blocks of html from a file it's very easy to
delete an extra closing tag or 2, or leave in an extra and compeltely
screw up your layout.


It's easy to delete an element correctly with the Extend Selection (Ctrl+W
repeatedly) feature, be it C# or HTML. Ctrl] and CtrlShift+] could be of
some help as well.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.