Collection Expression Syntax formatting

I am using the newish collection expression syntax.

I would like my code to format as follows:

but when I run Resharper code cleanup it reformats this as this:

 

Is there an option to format collection expressions as above?

Thanks,

Max Schilling

 

0
1 comment
Hello max,
thank you for contacting us.
Try setting the following option "ReSharper | Options | Code Editing | C# | Formatting Style | Braces Layout | Expressions (Initializers, Switch expressions, Patters, Collections Expressions)"  to "At the end of line (K&R style)"
Thank you!
0

Please sign in to leave a comment.