Where to configure attribute parameter chop/align?
I have a long [TestCase(a, b, c, d...)] attribute in my unit test and when I reformat code, it is being chopped to one parameter per line.
Which setting will preserve formatting or allow a simple wrap?
Please sign in to leave a comment.
Hello Darrek,
Thank you for your question.
What value do you have for "Wrap invocation arguments" in "ReSharper | Options | ReSharper | Options | Code Editing | C# | Formatting Style | Line Breaks and Wrapping | Arrangement of Invocations"?
Thank you!
It is the declaration of the test method, not the invocation, that I'm talking about.
Hello Darrek,
Please try changing the value to "Simple wrap" for "Wrap invocation arguments" option, please take a look at https://youtrack.jetbrains.com/issue/RSRP-414779#focus=streamItem-27-1983523.0-0
Thank you!