-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
don't default to recently used when selecting interpreter #9826
Comments
The The interpreter selector should show all interpreters it detects. If it is not detecting some interpreters then that is likely a bug in our detection. @zachvalenta Can you provide details on which paths are not searched or which interpreters are missing? /cc @luabud We might have to bring this up stream. The |
This list gets refreshed only when reloading VSCode or virtual environment of created in workspace folder. That's by design.
Reloading once is sufficient, however it can take a while to find all the environments. As we do not know which place a a new env had been created, could have been cons or pipenv, or other. Also we are currently unable to monitor fs changes outside the users workspace. Creating pipenv, pyenv or new conda end will not be available until vsc is reloaded once. |
aha! never noticed, makes sense |
Doesn't VSC know which place a new env has been created (in part) through |
Closing this, since we don't control the |
Environment data
Expected behaviour
Be able to chose from any environment present at
venvPath
Actual behaviour
Can only get recently used interpreters
No option to choose from all interpreters
This becomes a problem if you've just created an environment. I sometimes just have to close VS Code a few times or wait until whatever mechanism VS Code uses to track what directories exist at
venvPath
updates.I'm using Poetry for environments but I don't think this issue overlaps w/ #8372 insofar as, once VS Code stops showing 'select interpreter' with the 'recently used' flag, I can then see all my Poetry envs.
The text was updated successfully, but these errors were encountered: