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

Handle dynamic registration using different methods #582

Open
michaelpj opened this issue May 25, 2024 · 0 comments
Open

Handle dynamic registration using different methods #582

michaelpj opened this issue May 25, 2024 · 0 comments
Labels
good first issue v3 Next really big release ZuriHac

Comments

@michaelpj
Copy link
Collaborator

Extremely annoyingly, some methods are dynamically registered under a different method. Notably the semantic tokens methods are registered under textDocument/semanticTokens, which is not actually a method that is defined.

This information is in the metamodel ("registrationMethod") so we can do something with it. Probably we need to add a method like the custom method for each of them, and then have another type family that maps methods to their registration methods, which will be the identity in most cases but not all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue v3 Next really big release ZuriHac
Projects
Development

No branches or pull requests

1 participant