Closed LDAP closed 1 year ago
This PR adds autodetection for virtual environments when using the python adapter.
Similar to https://github.com/sublimelsp/LSP-pyright/pull/183
If cwd is provided, then the venv (or a config file that defines a venv) is searched in cwd and its parents, else the venv is searched in all parents of program.
cwd
program
I'll try to make a package control update with all this stuff this weekend
This PR adds autodetection for virtual environments when using the python adapter.
Similar to https://github.com/sublimelsp/LSP-pyright/pull/183
If
cwd
is provided, then the venv (or a config file that defines a venv) is searched incwd
and its parents, else the venv is searched in all parents ofprogram
.