Community
Participate
Working Groups
It is not possible to make the formatter format the switch statement as follows: ---------------- switch(3) { case 1: { break; } case 2: { break; } default: { break; } } ----------------------------------- I would like to request a parameter in the formatter to make blocks not indented in case statemnets which should facilitate the above formatting!
This is already doable without any new options. In Brace>Brace positions>'switch...case' statement, put Next line. In Brace>Brace positions>Blocks, put Next line. In Indentation>Switch statement, uncheck "Indent statements within 'switch' body. You should get the result you expect. Ok to close?
sorry my mistake!