-
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
Run Selection/Line in Python Terminal gives unexpected indent #2930
Comments
I have this same issue. It started after updating to VSCode to version 1.28.1 |
Duplicate of #2857 |
Hi, I am experiencing the same problem that @WayOfKings had experienced. When I run the code then the console is stuck at 3 dots until I manually hit enter in the console. What's the remedy here, please? This is after my python extension is updated to 2018.9.1 |
Hi @DonJayamanne - Thanks but I cannot see any suggestion to solve this problem in that thread. There was a talk of adding newline characters bu nothing after that |
yes after the updates... the issue has been solved. |
According to the thread #2857 final update was that a new release of Python extension (2018.9.1) now contains this fix so I assumed we dont need to install the VSIX file. Anyhow, I have installed VSIX file now from the link you shared. But the same problem persists. What to do here? |
I have created a new issue #2962 for this. You may close this and answer there directly |
Environment data
Actual behavior
Expected behavior
The selection runs and outputs:
2
4
Had a colleague try it in Jupyter Notebook and IDLE and it works.
Also, works fine if in VSCode I run Debug (F5), which runs the whole .py file.
Steps to reproduce:
Make a new .py file, enter in lines 11 through 15 in the first picture above.
I have tried various indentations and adding new lines between various lines but still have this issue.
##Logs
From terminal...
Feels similar to issue 259, but if resolved, why is this still happening?
The text was updated successfully, but these errors were encountered: