title: Is there any way to disable ReSharper Web Form/MVC (.aspx) Code Formatting on Brace ( } ) Completion?
body: <p>Is there any way to disable ReSharper Web Form/MVC (.aspx) Code Formatting on Brace ( <code>}</code> ) Completion?</p>
  
  <p>It is really frustrating and most of the time is not what I want.  For instance if I have:</p>
  
  <pre><code>&lt;% if (CurrentUser.IsRole(Helper.UserRole.Agent)) { %&gt;
     &lt;%= Html.LinkTo("sign out", SessionRoutes.Logout, null, new { @class = "sign" }) %&gt;
  &lt;% } else { %&gt;
     ...
  &lt;% } %&gt;
  </code></pre>
  
  <p>as soon as I type the last <code>&lt;% }</code> it formats like this:</p>
  
  <pre><code>&lt;% if (CurrentUser.IsRole(Helper.UserRole.Agent))
    { %&gt;
   &lt;%= Html.LinkTo("sign out", SessionRoutes.Logout, null, new { @class = "sign" })%&gt;
    &lt;% }
    else
    {%&gt;
  
    &lt;%
    }%&gt;
  </code></pre>
  
  <p>I have looked through ReSharper options, but cannot find any setting suitable. It's driving me nuts! To get around it I either have to paste the bracket, sometimes be lucky enough that <kbd>ctrl</kbd>+<kbd>z</kbd> works or type <code>&lt;{</code> then insert the <code>%</code> then space :S</p>
  
  <p>I'm sure anybody who has worked with ReSharper and web forms lately will know what I'm talking about.</p>
  
  <p>Thanks</p>