lexical-lsp / vscode-lexical

VSCode extension for Lexical, the modern Elixir language server
Apache License 2.0
36 stars 6 forks source link

Does not implement VS Code symbol information #46

Closed rossvz closed 1 year ago

rossvz commented 1 year ago

Hey! First off - very impressed with how much this plugin does do already - and it's incredibly fast!

I realize this project is very much still in active development so I understand why some of these features may not be around, but wanted to surface it just in case not everyone uses this workflow.

I often navigate around a large file with "Go To Symbol" in VS code, which lets you start typing part of a function name and just between functions or test definitions in a file! It works better than a standard search since it's all scoped to function definitions, not calls!

It doesn't look like those are provided yet!

image

scottming commented 1 year ago

Yes, this feature is called document symbols, while the one for the entire project is workspace symbols(#). These are all in the plan. We are carrying out some foundational work on indexing in the lexical repository.

Blond11516 commented 1 year ago

Hi @rossvz!

As Scott said, this feature is planned for support eventually, but it will have to wait after indexing (which is being actively worked on) because having a complete index will massively simplify the implementation.

Given this is an LSP feature and should be transparent for clients, I'm going to close this issue. There's already an issue for this on the Lexical repo, which you can follow for updates.