VS 2010 MVC Formatting
- by Brian
Hello,
MVC is formatting my code horribly, and I was wondering if you can turn it off? I feel the answer is no, but I was hoping VS 2010 had built in a setting...
Here's what its formatting as:
<% if (org.UserKey.HasValue)
{ %>
<%= org.Reference(i => i.UserReference).Email%>
<% }
else
{ %>
<%= org.UserEmail%>
<% } %>
I want the beginning brackets on the same line as the if and the else...
Thanks.