python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.94k stars 194 forks source link

Implementation of workspaceSymbolProvider #115

Open mabugaj opened 2 years ago

mabugaj commented 2 years ago

Are there any plans on implementing workspaceSymbolProvider? For big projects this is a basic functionality. From what I investigated there were some plans on integrating with ctags or rope in order to achieve this.

I've found that https://github.com/pappasam/jedi-language-server implements this using jedi so maybe it's good starting point.

Some details for further conversation: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_symbol

I also found some old branch: https://github.com/python-lsp/python-lsp-server/tree/ngates/workspace-symbols

ondrej-ivanko commented 11 months ago

I concur and I hope this option is planned to be implemented at some point. I was really disappointed finding that pylsp does not offer workspace symbols queries.