Visual Studio 2010 code formatting bug
February 25th, 2011 // 2:01 pm @ Amar
There is a bit of an issue with VS 2010 code formatting for HTML. Be default you will see HTML code formatted as :
<h3>
General</h3>
To fix this, go to Tools –> Options
Select Text Editor-> HTML –> Formatting from the left panel.
Click on the Tag Specific Options.
Select Default Settings –> Client tag supports contents
On the right panel, under Line breaks, select Before and after.
This will give you a code formatting as :
<h3>General</h3>
Category : General
Art
11 months ago
Touché