You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
When using curly brackets after a switch or case statement, the bracket line is set to having one indentation less, as there is no automatic indent after each of these keyword (as opposed to if or else).
Preferable, is that the switch and case keywords also trigger an automatic indentation.
EDIT: I use Allman-style indentation, and as such it may not affect other indentation styles.
The text was updated successfully, but these errors were encountered:
In my experience, atom seems only to indent after a { bracket. Which is horrible.
switch(typeofarguments[i]){// atom auto-indents herecase"one":
// but not hereoutput+=arguments[i];break;case"two":
// I manually indentedbreak;// it doesn't un-indent here.case ...
}
I hate this, honestly, and so would like this issue to receive more attention.
I think, however, your reason for frustration is slightly different to mine; I'd just like atom to auto-indent after cases.
When using curly brackets after a switch or case statement, the bracket line is set to having one indentation less, as there is no automatic indent after each of these keyword (as opposed to if or else).
Preferable, is that the switch and case keywords also trigger an automatic indentation.
EDIT: I use Allman-style indentation, and as such it may not affect other indentation styles.
The text was updated successfully, but these errors were encountered: