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

Language specific tokenColorCustomizations #124997

Closed
Enzodtz opened this issue May 31, 2021 · 3 comments
Closed

Language specific tokenColorCustomizations #124997

Enzodtz opened this issue May 31, 2021 · 3 comments
Assignees
Labels
*out-of-scope Posted issue is not in scope of VS Code

Comments

@Enzodtz
Copy link

Enzodtz commented May 31, 2021

Hey,

I would like to change a token for a specific language of my editor, something such as:

[dart]: {
  "editor.tokenColorCustomizations": {
        "keywords": "#FF0000"
  },
}

But it says that the feature is not supported for language specific.

I saw the discussion on #20652 where they say that you can't use theme specifically for a language because themes have effect on more than the editor, but I think that the token colors does not have effect more than the editor.

Thanks

@aeschli
Copy link
Contributor

aeschli commented Jun 1, 2021

#20652 (comment) describes how to define language specific tokenization rules.

@aeschli
Copy link
Contributor

aeschli commented Jun 1, 2021

Of course your syntax would be more intuitive, but will be difficult to implement right.

@aeschli aeschli added the *out-of-scope Posted issue is not in scope of VS Code label Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

3 participants
@aeschli @Enzodtz and others