Wrapping multi line chained method calls including first invocation

Is there a way to wrap before the first chaining segment if wrapping on long/multiline?

Instead of

obj.Method()
    .Method()
    .Method()
    .Method()

 

I would like to have

obj
    .Method()
    .Method()
    .Method()
    .Method()
0
1 comment

Hello!

Thank you for contacting us.
Here's a corresponding feature request  - https://youtrack.jetbrains.com/issue/RSRP-471556/Extra-options-in-C-Arrangement-of-Member-Access-Expressions.
As you can see, it's an old issue. It means, that for now, we want to see how many users need it, and then we can make a decision about the implementation of this feature.
So, feel free to comment or vote for it or just follow the issue to get the latest updates.
Thank you for understanding.

0

Please sign in to leave a comment.