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:
Description
Semantic Tokens
Desired features
model M end M;
the secondM
needs a sematic token.Example
This should fix the highlighting issue of the MetaModelica extension like for
M
andMyLibrary
:Same for self defined types and classes.