Skip to content

Automatically select interpreter when VIRTUAL_ENV is set #2124

@brettcannon

Description

@brettcannon

When a virtual environment is activated the VIRTUAL_ENV environment variable is set to the location of the virtual environment. We could pick up on this and use it as the implicit value of python.pythonPath when that setting has not already been set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityneeds PRReady to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions