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

Implement Semantic Tokens #12

Open
3 tasks
AnHeuermann opened this issue Feb 8, 2024 · 0 comments
Open
3 tasks

Implement Semantic Tokens #12

AnHeuermann opened this issue Feb 8, 2024 · 0 comments
Labels
enhancement New feature or request LS - Client Language Server - Client capability LS - Server Language Server - Server capability

Comments

@AnHeuermann
Copy link
Member

Description

Semantic Tokens

The request is sent from the client to the server to resolve semantic tokens for a given file. Semantic tokens are used to add additional color information to a file that depends on language specific symbol information. A semantic token request usually produces a large result. The protocol therefore supports encoding tokens with numbers. In addition optional support for deltas is available.

Desired features

  • Provide tokes
    • End identifiers of classes, like in model M end M; the second M needs a sematic token.
    • Class definitions like models, classes, types.
  • Server tests
  • Client end to end tests
    • Test combination with MetaModelica extension?

Example

This should fix the highlighting issue of the MetaModelica extension like for M and MyLibrary:

grafik

Same for self defined types and classes.

@AnHeuermann AnHeuermann added enhancement New feature or request LS - Server Language Server - Server capability LS - Client Language Server - Client capability labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request LS - Client Language Server - Client capability LS - Server Language Server - Server capability
Projects
Status: Ready
Development

No branches or pull requests

1 participant