Visual Studio 2008 "auto-formats" any block line elements such as div
, h1
, etc. using a line break after the opening tag.
This has always bothered me when it comes to h1
, h2
etc. I pretty much always have them on a single line. Is there any way to configure Visual Studio to keep these on one line?
I.e. this is what it does
<h1>
This is a header</h1>
This is what I want:
<h1>This is a header</h1>