I am using Visual Studio 2010, but this applies to VS 2008 as well.
In my MVC views I prefer to write my coded elements as follows:
<% if (somecondition) { %>
<p>something</p>
<% } else { %>
<p>something else</p>
<% } %>
This just looks more readable to me than the following which is what VS auto corrects my code to look like:
<% if (somecondition)
{ %>
<p>something</p>
<%}
else
{ %>
<p>something else</p>
<%} %>
I usually stop my work to format the code back into the fashion that I prefer, but am getting tired of this. I love the auto-correcting in VS, but want this to cease only in my views, and only for what I describe above. Is this possible?