Auto activation of environments does not work with multi root workspaces
See original GitHub issueNot a dup of https://github.com/Microsoft/vscode-python/issues/1476
- Create two workspace folders
- One with python 3, other with py 2
- Ensure you have no files opened in the file tab
- Create a new terminal (using
+
on terminal panel), extension doesn’t activate the terminal based on workspace folder for which VSC created a terminal
We need VSC API to provide workspace folder for which the term was created.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:14
Top Results From Across the Web
Multi-root Workspaces in Visual Studio Code
You can open and work on multiple project folders in Visual Studio Code with multi-root workspaces.
Read more >Setting python.path for VS Code Python Debugger for Multi ...
I have a multi-root workspace with three directories in VS Code. I source a different virtual environment when I need to run scripts...
Read more >Chapter 8. Administering workspaces - Red Hat Customer Portal
After a workspace is created or started, you can modify it by adding projects, installers, environment variables, and volumes. Important. To edit a...
Read more >Managing environments - Conda
To do so on Windows, run: c:\Anaconda3\Scripts\activate base in Anaconda Prompt. Windows is extremely sensitive to proper activation. This is because the ...
Read more >Using Workspaces in Siebel Tools - Oracle Help Center
This feature allows multiple developers to work on the same repository objects ... Also, the root workspace is the only workspace in the...
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
I’m on latest insider and extension as well, & it doesn’t work for me. Please ensure you close all files when opening a terminal (there’s no mention of having files opened here).
Oh right, I had files opened in the tab. I closed all the tabs and I am able to repro this. Sorry for the confusion.