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 -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -