Commit 0d71b08
committed
Adopt semantic highlighting (#173)
Visual Studio Code version 1.44 introduced support [1] for
semantic highlighting [2] that allows to assign colors and
styles to tokens. Semantic highlighting enriches syntax coloring based
on symbol information from the language service, which has more
complete understanding of the project so the coloring changes appear
once the language server is running and has computed the semantic tokens.
The feature has been tested for some weeks and worked out-of-the-box
without the need to change or add specific matchers or rules.
See the [semantic highlighting guide][4] and [GitHub wiki][5] for more details.
[1]: https://code.visualstudio.com/updates/v1_44#_semantic-tokens-provider-api
[2]: https://code.visualstudio.com/docs/getstarted/themes#_semantic-highlighting
[3]: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming
[4]: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming
[5]: https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview
Closes GH-1721 parent 74b3cac commit 0d71b08
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments