-
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
Indentation level of else:
-type lines is not reduced
#771
Comments
The caret is placed correctly, one level less than |
OK, good to know this is currently expected behaviour. |
Is there an update on this? |
[ @redoctopus0 I edited your ✉️ ⬆️ to come off as more 😃 and less 😠 ] Fixing this requires #1847 which is not a minor undertaking. So we expect to get to it eventually, but it might be a little while. |
Was supposed to be fixed by #2724 . |
tracked by #481 |
Environment data
VS Code version:
Python Extension version:
2018.1.0
Python Version:
3.6.3
OS and version: Ubuntu 2017.10 AMD64
Actual behavior
After typing enter at the end of a line such as
else:
,elif cond:
,except:
,finally:
, the indentation level of that line is unchanged and the next line is auto-indented to the wrong level as well:after typing enter, becomes
Expected behavior
after typing enter (or
:
on atom if I remember correctly), should becomeSteps to reproduce:
Is this normal? I expect that this is a problem with my setup and not this extension given the simplicity of the issue, but my install is as standard as can be...
The text was updated successfully, but these errors were encountered: