After recently migrating to VS Code (MacOS), I've noticed that I can't collapse any case
code blocks, something affecting all my switch
statements.
Initial format:
switch (name) {
case 'a':
...
break;
case 'b';
...
break;
default:
...
}
What I've tried:
Indenting case
and playing around with the indent setting in .eslintrc
--- 2, { "SwitchCase": 1 }
--- did no good:
switch (name) {
case 'a':
...
break;
case 'b';
...
break;
default:
...
}
None of the other research I've done has gotten me anywhere. Assuming there's a way to change/fix this, how would I do it?