-
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
Change venvFolders to no longer be anchored to the user's home directory #1479
Comments
|
#2142 is a motivator for |
We may want to consider skipping step 2 and modifying step 3 to only worry about venvPath as the naming of |
Since we now know how to patch a user's setting we can actually drop venvPath and then change a user's preexisting settings to append |
Once this is done we will also need to request appropriate documentation (as well as for |
I ran across this issue because I have the following use case:
Making venvFolders not relative to the user's home dir would allow me to specify each subproject once and easily switch between the corresponding environments as I switch between projects. The current workaround is to update venvPath or pythonPath each time I switch. |
Honestly, yes. We have been very focused in the interim time this issue was opened by completely rewriting the environment discovery code, iterating on the quick pick menu, and then getting an extension API for other extensions to use. Now that's all finished, we can look to try and pick this up in 2023. |
Cool, thank you! |
Should venvPaths exist in version v2023.14.0 of the python extension? |
No; see https://github.com/microsoft/vscode-python/blob/main/package.json for all the settings we support. |
We discovered during our bug bash that
venvFolders
exists but isn't documented. Either we leave it, document it, and potentially not make (at least) our pyenv support depend on.pyenv
being in it, or we remove the setting and use the documented functionality ofpyenv
directly.The text was updated successfully, but these errors were encountered: