Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Inline blocks such as "else : expr" will only dedent once - #139

Closed
kbrose wants to merge 1 commit into
atom:masterfrom
kbrose:inline-colon-blocks
Closed

kbrose wants to merge 1 commit into
atom:masterfrom
kbrose:inline-colon-blocks

Conversation

@kbrose

@kbrose kbrose commented Mar 25, 2016

Copy link
Copy Markdown
Contributor

Unfortunately, when you finish typing "else :" it will match the regex and
dedent, but it will not keep dedenting once you've started typing the
expression.

See atom/atom/issues/10973

_NOTE:_
There were no specs testing the indentation at all for me to copy, and I do not know enough about the framework to write them myself from scratch. I would appreciate some pointers on that.

Unfortunately, when you finish typing "else :" it will match the regex and
dedent, but it will not keep dedenting once you've started typing the
expression.
@winstliu

Copy link
Copy Markdown
Contributor

@kbrose language-javascript, language-go, and language-c contain auto-indentation specs if you want to check those out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants