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

[FEATURE] Semantic tokens #32

Open
3 tasks
SpontanCombust opened this issue May 10, 2024 · 0 comments
Open
3 tasks

[FEATURE] Semantic tokens #32

SpontanCombust opened this issue May 10, 2024 · 0 comments
Labels
feature New feature or request

Comments

@SpontanCombust
Copy link
Owner

SpontanCombust commented May 10, 2024

Add semantic tokens LSP feature
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens

Use cases:

  • Proper variable coloring. Variable tokens should have different token classes assigned to them depending on whether they are locals, fields, const fields, parameters or enum members.
  • Unused variables should be grayed out
  • Struct constructors should be colored like types
@SpontanCombust SpontanCombust added the feature New feature or request label May 10, 2024
@SpontanCombust SpontanCombust mentioned this issue May 10, 2024
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Development

No branches or pull requests

1 participant