Skip to content

Commit

Permalink
Adopt semantic highlighting (#173)
Browse files Browse the repository at this point in the history
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-172
  • Loading branch information
arcticicestudio committed Jun 16, 2020
1 parent 74b3cac commit 0d71b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/nord-color-theme.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Nord",
"type": "dark",
"semanticHighlighting": true,
"colors": {
"focusBorder": "#3b4252",
"foreground": "#d8dee9",
Expand Down

0 comments on commit 0d71b08

Please sign in to comment.