Auto indent else inside if block #16105
Labels
area-editor-*
User-facing catch-all
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
I would like to report exactly the same issue in https://github.com/microsoft/vscode-python/issues/2147.
I am working remotely via remote-ssh on a Linux machine from my Windows 10 laptop.
The Python extension for Visual Studio Code has been installed remotely (and locally).
Basically, just by hitting enter at the end of each line, I get:
when I should get (that is what I actually want);
Version: 1.55.2 (user setup)
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:35:57.887Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042
Environment data
** but working remotely on Ubuntu 16.04.7 LTS **
python.languageServer
setting: "Pylance"Expected behaviour
Correct indentation
Actual behaviour
Wrong indent.
Steps to reproduce:
Just type the code above.
The text was updated successfully, but these errors were encountered: