You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #6333, the dedent regex was kept simple for the return keyword (see #6497 (comment)), but didn't cover the case for return followed by a dangling [, ( or { before the cursor.
This issue also covers restoring the dedent removed for #6813 (added for #6333).
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 ([/+]on Jul 17, 2019
changed the title [-]Spike - Improve indentation rule for return statement followed by a dangling [, { or ([/-][+]Remove return statement support[/+]on Jul 29, 2019
Activity
[-]Improve indentation rule for return statement followed by a dangling [, { or ([/-][+]Spike - Improve indentation rule for return statement followed by a dangling [, { or ([/+][-]Spike - Improve indentation rule for return statement followed by a dangling [, { or ([/-][+]Remove return statement support[/+][-]Remove return statement support[/-][+]Fix indent/dedent for "return" syntax.[/+]Drop dedent-on-enter for "return" statements. (#6939)
DonJayamanne commentedon Aug 14, 2019
Prescribed Solution:
brettcannon commentedon Aug 21, 2019
The original PR was reverted, so there's nothing to fix here as long as we don't bring this feature back.