auto-virtualenv
auto-virtualenv copied to clipboard
Custom resolve function?
It might be nice to allow users to override how virtualenv names are resolved. This would make it easier to adapt to find the virtualenv that say poetry or nox use.
For now just running the following in the shell seems to work to sync up the poetry environment with auto-virtualenv:
$ ln -s $(poetry env info -p) .venv
Thanks for the tip @gitonthescene ! I found that I also need to restart the server everytime I switch projects using lsp-workspace-restart before it picks up the new virtual envionrment, has anyone found a way around this?
@AmrAwadK I use a projectile hook to switch virtualenv