I recently started using pylance in place of pyright. I also normally have venvs in my workspace so I noticed that with search = false and search_workspace = true my venvs wouldn't appear in VenvSelect anymore. That seems to be because list_pyright_workspace_folders is only looking for clients named pyright.
This is just my quick and dirty way of adding support for pylance for anyone who also happens to be using it.
I recently started using pylance in place of pyright. I also normally have venvs in my workspace so I noticed that with
search = false
andsearch_workspace = true
my venvs wouldn't appear in VenvSelect anymore. That seems to be becauselist_pyright_workspace_folders
is only looking for clients named pyright.This is just my quick and dirty way of adding support for pylance for anyone who also happens to be using it.