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

Remove return statement support. #6813

Closed
ericsnowcurrently opened this issue Aug 1, 2019 · 1 comment
Closed

Remove return statement support. #6813

ericsnowcurrently opened this issue Aug 1, 2019 · 1 comment
Assignees
Labels
area-formatting feature-request Request for new features or functionality

Comments

@ericsnowcurrently
Copy link
Member

For #6333 we worked on improving syntax auto-indent/dedent (e.g. else). We were able to get dedent mostly right for return (see #6497 (comment)), but weren't able to find a good solution for return followed by a [, (, or { right before the cursor (see examples in #6564). We've determined that it would be better to remove dedent support for return entirely than to have some minor cases where it does the wrong thing.

Later, we will work on sorting out indent/dedent for returnin #6564.

@kimadeline
Copy link

Validated ✅

@ghost ghost removed the needs PR label Aug 14, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-formatting feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants