Skip to content

Instantly share code, notes, and snippets.

@natterstefan
Last active May 7, 2021 07:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natterstefan/295d5bc797adfc74183eaa82bb1eb7cd to your computer and use it in GitHub Desktop.
Save natterstefan/295d5bc797adfc74183eaa82bb1eb7cd to your computer and use it in GitHub Desktop.
Visual Studio Code Setting | Semantic Token Color Customisation
/**
* Semantic token styling
* @see https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming
* @see https://code.visualstudio.com/updates/v1_45#_semantic-token-styling
*/
"editor.semanticTokenColorCustomizations": {
"[Default Dark+]": {
"rules": {
// make all parameters italic and apply a different foreground color
"parameter": {
"italic": true,
"foreground": "#70707f"
},
// make all symbol declarations bold and italic
"*.declaration": {
"bold": true,
"italic": true
},
// underline all properties of an object
// "*.defaultLibrary": {
// "underline": true
// }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment