Visual Studio incorrectly smart indents the opening brace

Posted by PretzelSteelersFan on Stack Overflow See other posts from Stack Overflow or by PretzelSteelersFan
Published on 2010-03-30T14:55:35Z Indexed on 2010/03/30 15:03 UTC
Read the original article Hit count: 303

Filed under:
|
|

When I type the closing brace in an html page, this i what Visual Studio does. Notice the opening brace is now 1 indent before the foreach. They should be even as shown by the closing brace. Not a big thing but driving me nuts.

<% foreach (var item in Model.Messages)
{ %>
<% } %> 

© Stack Overflow or respective owner

Related posts about VisualStudio

Related posts about editor