Replies: 1 comment 1 reply
-
python language servers just don't support this feature there is nothing you can do about that (except writing a better lsp). Python tooling is generally pretty subpar compared to other languages |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I have just started trying out helix today. I have configured pylsp and it seems to be working for finding symbols within a file and auo-importing symbols from the wider workspace. However, when I try
<space>-S
(Open workspace symbol picker) I get the following message in red at the bottom of the screen "No configured language server supports workspace symbols".I have tried with both pylsp and pyright to no avail.
Question
How can I configure workspace symbols to work with pylsp?
Configuration
~/.config/helix/config.toml
pylsp
~/.config/helix/languages.toml
pyright
~/.config/helix/languages.toml
Additional
I have pylsp installed with pipx. I have installed the following packages in the virtualenv.
python-lsp-server[all]
pylsp-mypy
python-lsp-ruff
Pyright is also installed with pipx with no additional packages.
LSP health is this for pylsp
![Screenshot 2024-04-15 at 12 30 41](https://private-user-images.githubusercontent.com/14287/322463228-3f98d938-0e84-4b91-a057-c68a48fcbcbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjU4MDksIm5iZiI6MTczOTM2NTUwOSwicGF0aCI6Ii8xNDI4Ny8zMjI0NjMyMjgtM2Y5OGQ5MzgtMGU4NC00YjkxLWEwNTctYzY4YTQ4ZmNiY2JiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEzMDUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxYjViZjU2MTIzODBkMDNlMGNkZTdjOGMxOTdiOWNhNGRjODhkNzcwZjY1NjM3NzVjYjlmZDFhNGVmOGVlZDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yHv69rkis55RECIqe83OophJCH0JYEcFtgTgiGCqERE)
And this for pyright
![Screenshot 2024-04-15 at 12 57 37](https://private-user-images.githubusercontent.com/14287/322470239-9bc68738-af80-407f-ab3f-41ff86fbe59a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjU4MDksIm5iZiI6MTczOTM2NTUwOSwicGF0aCI6Ii8xNDI4Ny8zMjI0NzAyMzktOWJjNjg3MzgtYWY4MC00MDdmLWFiM2YtNDFmZjg2ZmJlNTlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEzMDUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY1NGI5OTY2YzRhYjlhZjc0NzE5YTkxYzQ5NWZiMGRhOWVkZjgyNWQ4NmVkNjNhYTAwZmM2ZTBiNGU1NjFiMTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BdWajm9DBxuMX04clU-vYdC78XpDbFvk9dkq2ed-xUQ)
Beta Was this translation helpful? Give feedback.
All reactions