How to force braces on new line in javascript - Resharper 6.0 RC

Hi

I am wondering how do I make so that all the braces show up on their own line?

I went to the options -> javascript formatting -> put them on new lines but I still get

   else {
                
                 }

I want it

   else
  {
                
  }

1 comment

Don't know if it applicable with RS 6 but with RS 5 you can change this via VStudio->Options->Text Editor->JScript->Formatting.
(Just be sure to avoid the JS semicolon insertion as described here)

0

Please sign in to leave a comment.