typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
110 stars 51 forks source link

Quest: let's forward _all_ the ServerCapabilities to tsserver #626

Open NullVoxPopuli opened 1 year ago

NullVoxPopuli commented 1 year ago

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

camerondubas commented 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?

NullVoxPopuli commented 1 year ago

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)

IgnaceMaes commented 1 year ago

Thanks for setting up this initiative!

Two features I would like to see as well are:

image image image

I haven't done any digging so no clue how straight forward these should be.