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

Adopt semantic highlighting #173

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

arcticicestudio
Copy link
Contributor

@arcticicestudio arcticicestudio commented Jun 16, 2020

Resolves #172

Visual Studio Code version 1.44 introduced support for semantic highlighting 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 and GitHub wiki for more details.

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.

[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

GH-172
@arcticicestudio arcticicestudio merged commit e05a999 into develop Jun 16, 2020
@arcticicestudio arcticicestudio deleted the feature/gh-172-adopt-semantic-highlighting branch June 16, 2020 18:06
arcticicestudio added a commit that referenced this pull request Jun 16, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adopt semantic highlighting
2 participants