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


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


1 comment
Comment actions Permalink

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)


Please sign in to leave a comment.