Set "python.useEnvironmentsExtension": true in your settings
Set "python-envs.terminal.autoActivationType": "command" in your settings
Create a virtual environment in your workspace: python -m venv .venv
Select the .venv as your Python interpreter for the workspace
Pretty sure this caused a regression: if a new terminal needs to be created, it will not show until the script has completed.
with the above prereqs, close all terminals and use run python file in terminal with an input:
import time
c = int(input("Enter a number: "))
for i in range(c):
print(i)
time.sleep(.1)
🐛 terminal never reveals (if you open the terminal, you can see the script has been running)
Originally posted by @amunger in #640
Set "python.useEnvironmentsExtension": true in your settings
Set "python-envs.terminal.autoActivationType": "command" in your settings
Create a virtual environment in your workspace: python -m venv .venv
Select the .venv as your Python interpreter for the workspace
Pretty sure this caused a regression: if a new terminal needs to be created, it will not show until the script has completed.
with the above prereqs, close all terminals and use
run python file in terminalwith an input:🐛 terminal never reveals (if you open the terminal, you can see the script has been running)
Originally posted by @amunger in #640