Hi,
I've published a third-party plugin that adds workspace/symbol support to pylsp via Jedi — a feature that has been missing since 2022 (see #237, #564, #511 or similar).
Plugin: https://github.com/Hanatarou/pylsp-workspace-symbols
PyPI: https://pypi.org/project/pylsp-workspace-symbols
How it works
- Uses
pylsp_experimental_capabilities to advertise workspaceSymbolProvider: true
- Uses
pylsp_dispatchers to register a custom workspace/symbol handler
- Calls
jedi.Project.complete_search("") and filters client-side by case-insensitive substring match
- Automatically skips noise folders (
.venv, __pycache__, node_modules, etc.)
Install
pip install pylsp-workspace-symbols
Would you consider adding it to the third-party plugins section of the README?
This also serves as a working solution for users while #564 is pending merge.
Thanks!
Hi,
I've published a third-party plugin that adds
workspace/symbolsupport to pylsp via Jedi — a feature that has been missing since 2022 (see #237, #564, #511 or similar).Plugin: https://github.com/Hanatarou/pylsp-workspace-symbols
PyPI: https://pypi.org/project/pylsp-workspace-symbols
How it works
pylsp_experimental_capabilitiesto advertiseworkspaceSymbolProvider: truepylsp_dispatchersto register a customworkspace/symbolhandlerjedi.Project.complete_search("")and filters client-side by case-insensitive substring match.venv,__pycache__,node_modules, etc.)Install
Would you consider adding it to the third-party plugins section of the README?
This also serves as a working solution for users while #564 is pending merge.
Thanks!