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

Add support for semantic tokens #19

Open
anthony-c-martin opened this issue Mar 18, 2021 · 0 comments
Open

Add support for semantic tokens #19

anthony-c-martin opened this issue Mar 18, 2021 · 0 comments

Comments

@anthony-c-martin
Copy link

Would it be possible to add support for theming of semantic tokens to this theme? VSCode has a new mechanism for providing highlighting, and by default it is disabled for existing themes.

A number of extensions use it for enhanced colorization (I believe TypeScript, for example), but also fall back to using TextMate grammars for theming if support is not enabled. So generally many users may not notice that they don't have the enhanced highlighting available.

The extension I work on is new and does not have a fallback TextMate grammar, so if semantic token highlighting is disabled, there is 0 colorization available. You can download the extension here if you'd like to repro, and we have Azure/bicep#396 to track the issue generally on our side.

See https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming for some information about adding support for semantic highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant