per-coding-style icon indicating copy to clipboard operation
per-coding-style copied to clipboard

Update on how to handle multi lines in control structures

Open mathroc opened this issue 2 years ago • 1 comments

let me know if you think something like this should be done.

the first thing I wanted to take care of was to allow to break a function call or an array into multiple line in a control structures expression without having to switch to full multi line mode for the expression

and I also noticed a case where multi line could be authorized for catch expression with multiple union'ed types

mathroc avatar Sep 29 '22 12:09 mathroc

I don't like the idea of allowing multiline statements in control structures without the control structure being multiline. If the structure takes up multiple lines for any reason it should be treated as a multiline control structure to maintain readability.

KorvinSzanto avatar Sep 29 '22 16:09 KorvinSzanto

I think we should close this PR. Thanks for participating anyway, @mathroc

samdark avatar Nov 07 '22 05:11 samdark