Skip to content
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

Auto-indent after else\n #24

Closed
lydell opened this issue Feb 25, 2013 · 4 comments
Closed

Auto-indent after else\n #24

lydell opened this issue Feb 25, 2013 · 4 comments

Comments

@lydell
Copy link

lydell commented Feb 25, 2013

When pressing enter after while, for and if, the new line is indented one extra step automatically. However, that's not the case with else. I would like the same behavior there! (But not when else is followed by something on the same line, just like it works for if condition then doThat()).

@aponxi
Copy link
Collaborator

aponxi commented Feb 25, 2013

I'll look into this @lydell

I haven't written the snippets for this so I'll try to figure out after I tinker with it :)

Thanks

@aponxi
Copy link
Collaborator

aponxi commented Jun 7, 2013

This is becoming very annoying to me... else jumps in and out weirdly.

@lavrton lavrton mentioned this issue Aug 24, 2013
6 tasks
@lavrton
Copy link
Contributor

lavrton commented Aug 27, 2013

Fixed: c37e634

One should works as expected.

@lavrton lavrton closed this as completed Aug 27, 2013
@aponxi
Copy link
Collaborator

aponxi commented Aug 27, 2013

Awesome thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants