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:


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

Give the feature a try, you may like it :-)