-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Description
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_capabilitiesto advertiseworkspaceSymbolProvider: true - Uses
pylsp_dispatchersto register a customworkspace/symbolhandler - 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-symbolsWould 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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels