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
Extension version (available under the Extensions sidebar): Python (2018.7.1), Python for VSCode (0.2.3)
OS and version: Windows 10 (Version 1803, OS Build 17134.165)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Actual behavior
foo = "test"
if isinstance(foo, str):
print("It's a string")
else:
print("It's not a string")
Expected behavior
foo = "test"
if isinstance(foo, str):
print("It's a string")
else:
print("It's not a string")
Steps to reproduce:
Create a if/else statement
When you reach the else statement, it will not automatically indent
Additional information:
I have changed "editor.formatOnType" to "True" in user, workspace and folder settings.
I have also installed the extension "Python" as well as "Python for VSCode", and that did not help.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Environment data
Actual behavior
Expected behavior
Steps to reproduce:
Additional information:
I have changed "editor.formatOnType" to "True" in user, workspace and folder settings.
I have also installed the extension "Python" as well as "Python for VSCode", and that did not help.
The text was updated successfully, but these errors were encountered: