question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto activation of environments does not work with multi root workspaces

See original GitHub issue

Not 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.

Upstream https://github.com/Microsoft/vscode/issues/63052

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:14

github_iconTop GitHub Comments

2reactions
DonJayamannecommented, Nov 26, 2019

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).

1reaction
karrtikrcommented, Nov 26, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found