Repository navigation
Creating a new venv replaces selection #507
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Activity
cwebster-99 commented
on Jun 6, 2025 MemberAuthorMore actionsThen when I add the
testsfolder as a project it assigns a global Python rather than one of the virtual envs. This seems like a bug since it should probably default to a virtual env but it would be great if we could be smarter about this selection to auto to the environment that matches a req file if presentcwebster-99 commented
on Jun 6, 2025 MemberAuthorMore actions- addedbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
on Jun 10, 2025 cwebster-99 commented
on Jun 10, 2025 MemberAuthorMore actionsObserved this feedback in user studies as well, users did not expect the environment to be automatically selected unless the option made it more clear this was "Create and Select" they imagined it would just create the environment
Opted to enforce just "create" so this will no longer override existing selections. If we get user feedback we can switch to a "Create and Select" flow
- added a commit that references this issue
on Jun 16, 2025 - added a commit that references this issue
on Oct 23, 2025 - locked as resolved and limited conversation to collaborators
on May 2, 2026
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded

I currently only have the root as a project with a virtual env already created and selected. I created a new virtual environment for
dev-requirements.txtprior to adding the tests folder as a project and the new virtual environment is now selected for the root. Should we replace a virtual environment with a virtual environment?