Is there a way to disable ReSharper Web Form / MVC code formatting (.aspx) in parenthesis mode ( } )?
This is really frustrating, and most of the time I don't want it. For example, if I have:
<% if (CurrentUser.IsRole(Helper.UserRole.Agent)) { %> <%= Html.LinkTo("sign out", SessionRoutes.Logout, null, new { @class = "sign" }) %> <% } else { %> ... <% } %>
as soon as I type the last <% } , it is formatted as follows:
<% if (CurrentUser.IsRole(Helper.UserRole.Agent)) { %> <%= Html.LinkTo("sign out", SessionRoutes.Logout, null, new { @class = "sign" })%> <% } else {%> <% }%>
I looked at the ReSharper options, but I can not find a suitable setting. It drives me crazy! To get around this, I need to either insert a bracket, sometimes just get lucky that ctrl + z works or types <{ , then inserts % then space: S
I'm sure someone who has worked with ReSharper and web forms will know what I'm talking about lately.
thanks
source share