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
{{ message }}
Repository navigation
Can VSCode automatically run python scripts in two or more terminals at the same time? #14094
Can VSCode automatically run python scripts in two or more terminals at the same time without manually entering the path?
When I create a new terminal in VSCode to run the specified file, (it is still running), and then when I click the run button ("Run python file in terminal"), it will automatically run in the terminal that appears to be specified(not the newly created terminal). They look exactly the same python terminal.
Is it possible to set up VSCode so that it can automatically synchronize and run their respective files?
Since they are in the same terminal by default, the running results must be output in sequence, and if I use an external cmd window to debug, the results also need to be run in sequence, otherwise a new cmd window will not be able to be opened.
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
+1
This did not used to be the default behavior. It used to run in the currently active terminal window. The new behavior is really annoying since it does not even look if the "Python" tty is executing and just tries to execute there. At least give a setting for the wanted behavior.
I support, it is not convenient to debug the server and the client, me have to clog up the extra workspace in order to achieve the result (i am recent user in the vscode)
Activity
karthiknadig commentedon Sep 28, 2020
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
baconalot commentedon Apr 6, 2021
+1
This did not used to be the default behavior. It used to run in the currently active terminal window. The new behavior is really annoying since it does not even look if the "Python" tty is executing and just tries to execute there. At least give a setting for the wanted behavior.
wangwei-cmd commentedon Sep 2, 2021
pycharm professional can run multiply python file in split terminals automatically.
Trance-Paradox commentedon Oct 18, 2021
Really annoyed by this issue. Cannot run python in 2 separate terminals or even in currently active terminal
Avannit commentedon Oct 26, 2021
I support, it is not convenient to debug the server and the client, me have to clog up the extra workspace in order to achieve the result (i am recent user in the vscode)
8 remaining items
Open separate Python terminals when running different Python files (#…
karrtikr commentedon May 9, 2023
We've added the option to assign a dedicated terminal for each Python file:
Fix should be out in the pre-release version of the extension, use the following to try it out:
Added option to run multiple Python files in separate terminals (#21223)
Change name of command to run Python files in separate terminals (#21229
Open separate Python terminals when running different Python files (m…
Added option to run multiple Python files in separate terminals (micr…
Change name of command to run Python files in separate terminals (mic…
xzkeee commentedon May 17, 2023
huge thanks!
karrtikr commentedon May 25, 2023
Marking issue as verified assuming folks have tried it out and are happy with it.
Merged PR posit-dev/positron-python#122: Merging upstream vscode-pyth…
Merged PR posit-dev/positron-python#122: Merging upstream vscode-pyth…