-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto activation of environments does not work with multi root workspaces #3325
Comments
I have a very similar issue with a multi-root workspace containing two folders. Each of the folders has it's own venv. But for both folders only the venv which is set for the first folder starts in the terminal. {
"folders": [
{
"path": "myfolder1"
},
{
"path": "myfolder2"
}
]
} This example would start the venv1 of myfolder1 which is set in it's If I change my {
"folders": [
{
"path": "myfolder2"
},
{
"path": "myfolder1"
}
]
} |
Yeah, I have the same issue whenever I have a workspace with several virtualenv, even if I specify path folders in the settings.json, VSCode will always activate the first one in the terminal. A temporary workaround I found is having only one python/venv per workspace, and using the Project Manager to switch between projects. |
Hi @dahelg and @Jordan-Kowal 👋 would you mind trying the latest Insiders version of the extension ( Thanks! |
Create a terminal by clicking on |
That's what I did. But I don't see this issue. |
Ok, not sure how it works for you.
|
Yes, I did exactly the same thing. I am using the latest VS Code insiders and extension version. Asking @kimadeline to repro it. |
I'm on latest insider and extension as well, & it doesn't work for me. |
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. |
@DonJayamanne @karrtikr
I want to use |
|
Please open up a new issue with the details and we can help you. We don't track new issues in comments. |
Closed as dup of #15522 |
Not a dup of #1476
+
on terminal panel), extension doesn't activate the terminal based on workspace folder for which VSC created a terminalWe need VSC API to provide workspace folder for which the term was created.
Upstream microsoft/vscode#63052
The text was updated successfully, but these errors were encountered: