forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
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 and WORKON_HOME
envvar exist.
workon
is shell command installed by virtualenvwrapper. When invoked without argument it lists available virtualenvs under its control, in alphabetical order:
$ workon
bde
brewlog
cocos
...
tsp
twt
wsm
yg01
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 what workon
does).
Copied from original issue: DonJayamanne/pythonVSCode#968
neverfox and mr-ubik
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality