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

idea: use semantic tokens with rich informations from the compiler #61

Open
adelaett opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@adelaett
Copy link

using semantics tokens, it is possible to indicate part of a document (for exemple a variable name) using information gathered by the LSP. Here is what i found on the implementation of this kind of feature : https://github.com/microsoft/vscode-extension-samples/tree/main/semantic-tokens-sample.

This could be used by the catala-language server to highlight variables based on their type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant