Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIRTUAL_ENV variable accessible in settings.json #2388

Closed
DetachHead opened this issue Feb 16, 2022 · 2 comments
Closed

VIRTUAL_ENV variable accessible in settings.json #2388

DetachHead opened this issue Feb 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@DetachHead
Copy link

i want to be able to do this:

{
    "python.analysis.typeshedPaths": ["${env:VIRTUAL_ENV}/lib/site-packages/mypy/typeshed"]
}

but i can't because i think the VIRTUAL_ENV variable is only accessible within the virtual env. ideally i would be able to use ${command:python.interpreterPath} but i understand those commands don't work in settings.json

see #2221 (comment)

@judej judej added the enhancement New feature or request label Feb 16, 2022
@github-actions github-actions bot removed the triage label Feb 16, 2022
@judej
Copy link
Contributor

judej commented Mar 8, 2022

Thanks for the request. This is not something that is currently supported, but will reevaluate based on upvotes or community feedback.

@judej
Copy link
Contributor

judej commented Apr 19, 2022

Moving this issue to discussion as an enhancement request for comments and upvotes.

@microsoft microsoft locked and limited conversation to collaborators Apr 19, 2022
@judej judej converted this issue into discussion #2632 Apr 19, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants