1.15 added the ability to theme general aspects of the syntax scopes, I'm trying to simplify a theme with the generic tokens ('comments', 'variables' etc.), however editor.tokenColorCustomizations
doesn't seem to work. Is there a variation that works or is it not intended for themes?
Visual Studio Code: Free open source text editor created for developers writing code. Package manager: Software that is designed to help manage other programs that are installed or need to be installed on a device.
You can customize your active Visual Studio Code color theme with the workbench. colorCustomizations user setting. Note: If you want to use an existing color theme, see Color Themes where you'll learn how to set the active color theme through the Preferences: Color Theme dropdown (Ctrl+K Ctrl+T).
Yes, those "generic tokens" are specific to the editor.tokenColorCustomizations
setting (meaning you can't use them in a theme). They are mapped to TmLanguage scopes as follows:
comments: 'comment',
strings: 'string',
keywords: 'keyword',
numbers: 'constant.numeric',
types: 'entity.name.type',
functions: 'entity.name.function',
variables: 'variable'
https://github.com/Microsoft/vscode/pull/29393/files#diff-fcf8acf0156463f17f7fa7ed78c3b7e8R27
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With