Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type hierarchy provider #1275

Closed
lars-reimann opened this issue Nov 7, 2023 · 1 comment · Fixed by #1278
Closed

Type hierarchy provider #1275

lars-reimann opened this issue Nov 7, 2023 · 1 comment · Fixed by #1278
Labels
LSP Language Server Protocol integration proposal
Milestone

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Nov 7, 2023

LSP 3.17 added a way to get the subtypes/supertypes of an entity, based on three requests:

It would be nice to be able to easily hook into this, similar to the CallHierarchyProvider.

I'm currently working on this for a Langium-based DSL:

The interface is basically a copy of the CallHierarchyProvider. If you'd accept such a PR, I'd like to move the interface, the no-op implementation, and the request handler up into Langium.

@msujew msujew added proposal LSP Language Server Protocol integration labels Nov 8, 2023
@msujew
Copy link
Member

msujew commented Nov 8, 2023

Sure, that sounds pretty good. We'd love a contribution in that direction 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSP Language Server Protocol integration proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants