How to prevent formatting of close parenthesis on new line?

I like to use a jQuery style formatting in C#, e.g.
var foo =
   CreateFoo(
      param1,
      param2
   );

Resharper always auto-formats that close parenthesis to line up with the last line as follows:

var foo =

   CreateFoo(
      param1,
      param2
      );


How do I prevent that?
1 comment
Comment actions Permalink

Hello Faury
     At the moment there's no option to control the placement of closing parenthesis in this case. You're welcome to place a request for such option at http://youtrack.jetbrains.net/issues/RSRP. Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.