Automatic formatting of HTML on paste

VS HTML editor in Beta 2 sports a small new feature: automatic formatting of HTML on paste. By default it is off, but you can activate it in Tools | Options | Text Editor | HTML | Miscellaneous | Format HTML On Paste. Activating the feature makes editor automatcally format snippet and indent it relatively to its parent.

For example, when I paste HTML comment and A element in a table cell:

<!-- Format HTML on paste OFF -->
<a href=""></a>
<!-- Format HTML on paste ON -->
<a href=""></a>

Give the feature a try, you may like it 🙂

Comments (0)

Skip to main content