How to configure Rider to break line after => in method calls

Answered

I want my code to be like this:

Entities.ForEach((UnityEngine.RectTransform transform) =>
{

});

But rider automatically reformats the code to this:

Entities.ForEach(
(UnityEngine.RectTransform transform) =>
{
});

How can I configure it to break the line after "=>" ?

1 comment
Comment actions Permalink
Hi! Could you please check `File | Settings | Editor | Code Style | C# | Line Breaks and Wrapping | Arrangement of invocations | Prefer wrap after '(' in invocation` and change its state? Please let me know how it works for you.
0

Please sign in to leave a comment.