forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix indent/dedent for "return" syntax. #6564
Labels
Milestone
Comments
kimadeline
added
feature-request
Request for new features or functionality
area-formatting
triage-needed
Needs assignment to the proper sub-team
needs PR
labels
Jul 12, 2019
DonJayamanne
changed the title
Improve indentation rule for return statement followed by a dangling [, { or (
Spike - Improve indentation rule for return statement followed by a dangling [, { or (
Jul 17, 2019
DonJayamanne
changed the title
Spike - Improve indentation rule for return statement followed by a dangling [, { or (
Remove return statement support
Jul 29, 2019
ericsnowcurrently
changed the title
Remove return statement support
Fix indent/dedent for "return" syntax.
Aug 1, 2019
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.
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: