Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support workspace symbols request #5

Open
Andriamanitra opened this issue May 9, 2024 · 1 comment
Open

Support workspace symbols request #5

Andriamanitra opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Andriamanitra
Copy link
Owner

I think this would be a nice feature to have. The way I envision it working is

  1. User enters a command symbols xyz
  2. µlsp sends a workspace symbols request to the language server
  3. when the language server responds with a list of symbols, open a "menu" (similar to what goto-definition has, where you can press enter to jump to the file the symbol is in)

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_symbol

@Andriamanitra Andriamanitra added the enhancement New feature or request label May 9, 2024
@Andriamanitra
Copy link
Owner Author

The specification for workspace/symbol is rather similar to textDocument/documentSymbol (implemented in ef756ea) so some of the code can likely be copied and/or reused for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant