Skip to content

Support wildcard and array options for python.venvPath setting #24369

@artsiommiksiuk

Description

@artsiommiksiuk

Following the trail of this issue: #1019, I'd like to request venvPath to support array of paths and wildcards in them.

My use case touches monorepos and as part of monorepo (poly language repo), each project may have one or even many venvs created. Workaround I'm using for now is creating named venvs in the root, which isn't ideal of course, but seems to be do the trick.

Having an ability to have venvs co located with actual projects will remove this artificial limitation. Thus, expected format would be something as discussed in the ticket attached, where we just rename the venvPath to become venvPaths (plural):

"python.venvPaths": ["${workspaceFolder}/apps/*"],

Arrays might be beneficial in case of more granular separation in repo, like "public-apps", "internal-apps".

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytriage-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