lsp4intellij
lsp4intellij copied to clipboard
Support of `textDocument/documentSymbol`?
Any plans or ideas for $subject?
@nixel2007 Maybe we can expose this using IntelliJ structure view API (https://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support/structure_view.html)
Hopefully I'll be able to work on this in the next few weeks after adding completion snippet support. :) Do you have any blocker for due to the missing $subject?
It's not a blocker for me. Currently BSL LS supports not many features:
- diagnostics
- code actions (quick fixes for diagnosics)
- file formatting
- document symbols (no workspaceSymbols support so far)
- folding
- code lens
https://1c-syntax.github.io/bsl-language-server/en/
So 50% of BSL LS functionality are supported in lsp4intellij :) I thought that if you already did the workspaceSymbol support it won't be difficult to support documentSymbols, but now I see that it is different intellij APIs and it isn't as easy :)
I did a prototype for docsymbol/the structureview in the fork of my ongoing thesis. I'll create a PR in the new year.
Why wait so long? O_o
lack of time (can't promise to do it earlier) and its not finished yet.
maybe you could send a draft PR so anyone can help you if they want?