Open NullVoxPopuli opened 1 year ago
@NullVoxPopuli I'd be happy to help with this. I have a little bit of experience with language servers, but not a ton. Could you point me in the right direction to get started?
Hello!, given the list of server capabilities in protocol.ts (linked above), is there a particular one you'd like to start with implementing?
we only want one server capabilities addition per PR (for ease of testing)
Thanks for setting up this initiative!
Two features I would like to see as well are:
TypeScript: Sort Imports
commandI haven't done any digging so no clue how straight forward these should be.
Goal:
Achieve parity between tsserver and glint so that folks don't feel the need to have both servers active (which would consume more RAM)
Each capability should be its own PR -- some PRs will be more involved from others, and some may be straight-forward.
Here is where we need to configure: https://github.com/typed-ember/glint/blob/main/packages/core/src/language-server/binding.ts#L19
"
ServerCapabilities
"Here is the full list: https://github.com/microsoft/vscode-languageserver-node/blob/main/protocol/src/common/protocol.ts#L1068
Features we want?
(and probably more)
Here are the features from reported requests we can add
[ ] https://github.com/typed-ember/glint/issues/601 Note from discord:
[ ] TypeScript language server code-folding Note from discord:
[ ] textDocument/documentSymbol
[ ] progress Shows ui indicator in $editor for booting/loading, pending, etc https://github.com/microsoft/vscode-languageserver-node/blob/main/protocol/src/common/protocol.ts#L1104