I think this would be a nice feature to have. The way I envision it working is
User enters a command symbols xyz
µlsp sends a workspace symbols request to the language server
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)
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.
I think this would be a nice feature to have. The way I envision it working is
symbols xyz
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