-
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
Implicitly add WORKON_HOME to python.venvFolders
#118
Comments
python.venvPath
This would also help with pipenv who reads from |
Looking over the discussion from #2106 and messing around with virtualenvwrapper created environments I found that if you run with the default setup virtualenvwrapper also drops its hook files in that directory. If removed then Might I suggest only acting on directories found within For anyone using virtualenvwrapper wanting a workaround for now, use the Example
|
python.venvPath
python.venvFolders
Todo:
|
From @zgoda on May 19, 2017 11:30
I work almost exclusively in virtualenvs and I'd like to be able to select interpreter from list of virtualenvs if both
workon
command andWORKON_HOME
envvar exist.workon
is shell command installed by virtualenvwrapper. When invoked without argument it lists available virtualenvs under its control, in alphabetical order:Now I have to set complete path to interpreter in form of
$WORKON_HOME/<envname>/bin/python
. An alternative is to get virtualenvs by listing subdirs of$WORKON_HOME
(this is exactly whatworkon
does).Copied from original issue: DonJayamanne/pythonVSCode#968
The text was updated successfully, but these errors were encountered: