HallerPatrick / py_lsp.nvim

Lsp Plugin for working with Python virtual environments
97 stars 11 forks source link

Make FindLspFindVenvs showing a short env name at head? #31

Closed puppyapple closed 1 year ago

puppyapple commented 1 year ago
image

For now, the FindLspFindVenvs show the usable env python path like this, but in fact it is hard to find the wanted one in absolute path. So perhaps it will be better to have the env name at the beginning? Some thing like【(Conda: py38) /home/xx/anaconda3/envs/py38/bin/python】. Thanks for the great work by the way.

HallerPatrick commented 1 year ago

Thanks for the feedback!

With the help of fzf finding the target venv should be easy. But looking for the target venv, where you forgot the name, might take some time. It also would probably look a little bit more pleasing with a venv prefix.

puppyapple commented 1 year ago

Thanks for the feedback!

With the help of fzf finding the target venv should be easy. But looking for the target venv, where you forgot the name, might take some time. It also would probably look a little bit more pleasing with a venv prefix.

Yeah, with telescope we could also type a few key word to filter.