Skip to content

Add preexisting environment to environment selection #25441

@avalatea

Description

@avalatea

Value Statement

As a user I would like to be able to generate my local environment for my mono repo in a specific way and to be able to switch around them easily in vscode. For this ticket, let's implement a way for a user to add a preexisting env into python environments.

Details

I have a mono repo with multiple environments: API and Pipelines. I generate each of the .venv/ within the mono repo through poetry. This generates these two envs:

api/.venv
pipelines/.venv

However, I seem to be unable to add them both to the environment selection:

Here you see the pipeline environment.

Image

But when I select a different interpreter, the pipeline environment would disappear.

Image

Ideally, I should be able to add both .venv at the same time so that I can swap them around depending on what part of the codebase I am working on.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions