Cannot run lines in multiple interactive windows at the same time
See original GitHub issueEnvironment data
- VS Code version: 1.63.2
- Jupyter Extension version: 2021.11.1001550889
- Python Extension version: 2021.12.1559732655
- OS and version: Windows 10 2004
- Python and/or Anaconda version: 3.9
- Type of virtual environment used: N/A
- Jupyter server running: Local
Expected behaviour
Run two time-consuming codes in multiple interactive windows simultaneously, like in the 2021.10 version Jupyter.
Actual behaviour
The first window successfully executes the code, while the second window does not execute until the first window finishes.
Steps to reproduce:
Open an interactive window, and use “Run Selection/Line in Interactive Window” to send the following code.
while True:
pass
Open a second interactive window, and use “Run Selection/Line in Interactive Window” to send the same code to the second window. The second window cannot execute the code unless we turn off the first window.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
VS Code Python Tool Does Multiple Interactive Windows
Just open the settings page (File > Preferences > Settings), search for 'interactive window mode' and change the setting value to 'perFile.' Now ......
Read more >VS Code: Shift+Enter does not send code to Python Interactive
Shift + Enter is registered as a keyboard shortcut for both sending code to Terminal and for sending it to Python Interactive. I...
Read more >Running Python scripts simultaneously in VS Code
I managed to execute in the newly-opened terminal window typing a command there. Not as convenient as shift + enter but does the...
Read more >Run scripts in a Windows VM in Azure using action Run ...
This article describes how to run PowerShell scripts within an Azure Windows virtual machine by using the Run Command feature.
Read more >Python interactive window (REPL) - Visual Studio
Visual Studio has many Python REPL modes to choose from: ... Once the Interactive window is open, you can start entering code line-by-line...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Merry Christmas and Thanks for your efforts in 2021.
Thank you so much. It saves my coding life.