Duplicate: How do you get server blocks <% %> to format well in Visual Studio?
Working with MVC Views, the Visual Studio editor keeps reformatting my code to look like this:
<% foreach (var day in week.Days)
{ %>
I'm trying to keep the MVC View as clean as possible, I'd rather it just look like:
<% foreach (var day in week.Days) { %>
I was watching the MIX09 demos and I could have sworn I saw one of the demonstrators click something or do a keyboard shortcut that made it stay to one line. Anyone know how I can prevent VS from re-formatting the code?