Skip to content

Support symbolic link for python.venvPathΒ #24900

@anemele

Description

@anemele

Similiar with issue #24369, I have a list of venvs managed by tool uv, they are placed in my home subdir .pyenvs, with a structure like

~/.pyenvs
 β”œβ”€env-a
 β”‚  └─.venv
 β”‚      β”œβ”€...
 β”‚       ...
 β”œβ”€env-b
 β”‚  └─.venv
 β”‚      β”œβ”€...
    ......

Setting "python.venvPath": "~/.pyenvs/*" would work if wildcards are supported.

Then I tried to make symbolic link for these venvs, but failed. Symbolic link is not recognized as a venv.

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions