Format closing parenthesis to new line
When I declare or call a C# method with multi-line parameters like this:
public void DoSomething(
p1,
p2,
p3);
Then I would like ReSharper to format that code like this:
public void DoSomething(
p1,
p2,
p3
);
Is there a setting that I'm not noticing that allows me force the closing parenthesis to a new line?
Please sign in to leave a comment.
Hello!
Thank you for the feedback.
Please try ReSharper | Options | Code Editing | C# | Formatting Style | Line Breaks and Wrapping | Arrangement of method signatures | Prefer wrap before ")" in declaration.
Thank you.
I am not seeing the "Arrangement of method signatures" options in my settings for c++. I am using Visual Studio 2017 with the latest Resharper Ultimate 2018.2
Can you help me out ? I need to enable the same settings as above.
Thanks.
Hello Grnanda!
Thank you for contacting us.
There's no such formatting option for C++. I've filed corresponding feature request - https://youtrack.jetbrains.com/issue/RSCPP-23300
You are welcome to comment or vote for it.
Thank you,