Support semantic coloring #239
Labels
📝 documentation
Improvements or additions to documentation
✨ feature
New feature or request
♻ refactor
Refactor code
*released
The changes has been released
💄 UI
Milestone
Sample: https://github.com/microsoft/vscode-extension-samples/tree/master/semantic-tokens-sample
Wiki: https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview
See #308 for an updated document.
Token Types
Standard
function
: function namespaced IDs.namespace
: general namespaced IDs.keyword
: literal arguments, special meaning characters (e.g.true
,~
and..
).operator
: operating or comparison characters (e.g.+=
,><
, andmatches
).comment
string
number
property
: keys of maps.parameter
: entity selectors and score holders.variable
: objectives, teams, and tags.type
: objective criteria, item slots, and scoreboard display slots.Custom
annotation
: for annotations in doc comments.vector
: for vectors (e.g. block coordinates, rotation).Token Modifiers
Standard
declaration
: for ranges writing to thedef
element of cache.deprecated
: fornamespaced IDs of deprecated functions.
documentation
: for documentation block comments.Custom
firstArgument
: the first argument in the command.The text was updated successfully, but these errors were encountered: