haxe-formatter
haxe-formatter copied to clipboard
Make block-statements after `case _:` look nicer
Describe the Feature
If a case _: has a block statement after it, I would like it to look like this. However, there doesn't appear to be a way to have it be formatted this way.
switch(number) {
case 1: {
trace("Hello");
}
}
Instead, it always gets formatted to this. It feels like such a waste of space.
switch(number) {
case 1:
{
trace("Hello");
}
}
I could remove the block expression, but I think it looks so much cleaner with larger switch statements.