forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix indent/dedent for "return" syntax. #6564
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
Labels
Milestone
Comments
6 tasks
ericsnowcurrently
added a commit
that referenced
this issue
Aug 13, 2019
Prescribed Solution:
|
The original PR was reverted, so there's nothing to fix here as long as we don't bring this feature back. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
While working on #6333, the dedent regex was kept simple for the
return
keyword (see #6497 (comment)), but didn't cover the case forreturn
followed by a dangling [, ( or { before the cursor.This issue also covers restoring the dedent removed for #6813 (added for #6333).
Current (pre-#6813) behaviour (merged in #6497):
Expected/desired behaviour:
The text was updated successfully, but these errors were encountered: