Change Visual Studio 2008 HTML indentation style -


Visual Studio 2008 insists on pointing to HTML like this:

  & lt ; H1 & gt; Title & lt; / H1> & Lt; H2 & gt; Subtitles & lt; / H2 & gt;  

For me, this is pretty good:

  & lt; H1 & gt; Title & lt; / H1> & Lt; H2 & gt; Subtitles & lt; / H2 & gt;  

Is there a way to tell Visual Studio 2008 to use the later version of an indentation while auto-formatting?

Option, under HTML, go to "Format" and click on "Tag Specific Options" Then find the tags that you want to change (H1, H2, etc.) and uncheck indent content ()

The above guide is for Visual Studio 2005, so for 2008 It may be a bit different, but I'm sure you'll find it.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -