-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indentation of switch/case/default #7
Comments
Yes I'm aware of this. I took it out to try to match the behaviour of the default atom provided language-javascript package. They removed it here to avoid problems. I'll investigate what affect it has and will update this issue with any findings. |
I've added indent to case and default switches. Seems OK but you have no automatic outdent. Hope this works for you. Fixed in 0.6.1 |
Well without automatic outdent I would prefer to have it like the default atom package. While before you could use auto indent it just messes a bit with the switch statement. |
Ok i'll remove it and push out a patch. |
Hey,
I really like the indentation and syntax highlighting the only thing bugging me is the non existing indentation of switch statements.
Currently this is the indentation provided:
I would love if you could make it like this:
Would increase readability by a lot.
The text was updated successfully, but these errors were encountered: