Skip to content

Instantly share code, notes, and snippets.

@malte-v
Last active November 18, 2019 12:55
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malte-v/15ba4e123017e71f3a1c68c4e29b3f11 to your computer and use it in GitHub Desktop.
Save malte-v/15ba4e123017e71f3a1c68c4e29b3f11 to your computer and use it in GitHub Desktop.
Material-style semantic C++ syntax highlighting for VSCode (cquery)
"cquery.highlighting.enabled.types": true,
"cquery.highlighting.enabled.freeStandingFunctions": true,
"cquery.highlighting.enabled.memberFunctions": true,
"cquery.highlighting.enabled.freeStandingVariables": true,
"cquery.highlighting.enabled.memberVariables": true,
"cquery.highlighting.enabled.namespaces": true,
"cquery.highlighting.enabled.macros": true,
"cquery.highlighting.enabled.enums": true,
"cquery.highlighting.enabled.typeAliases": true,
"cquery.highlighting.enabled.enumConstants": true,
"cquery.highlighting.enabled.parameters": true,
"cquery.highlighting.enabled.globalVariables": true,
"cquery.highlighting.enabled.staticMemberFunctions": true,
"cquery.highlighting.enabled.staticMemberVariables": true,
"cquery.highlighting.enabled.templateParameters": true,
"cquery.highlighting.underline.staticMemberFunctions": false,
"cquery.highlighting.underline.staticMemberVariables": false,
"cquery.highlighting.italic.parameters": false,
"cquery.highlighting.italic.memberFunctions": false,
"cquery.highlighting.italic.memberVariables": false,
"cquery.highlighting.italic.macros": true,
"cquery.highlighting.italic.globalVariables": true,
"cquery.highlighting.bold.types": false,
"cquery.highlighting.bold.typeAliases": false,
"cquery.highlighting.bold.namespaces": false,
"cquery.highlighting.bold.templateParameters": false,
"cquery.highlighting.bold.enumConstants": false,
"cquery.highlighting.bold.enums": false,
"cquery.highlighting.colors.enumConstants": ["#ffcb6b"],
"cquery.highlighting.colors.enums": ["#ffcb6b"],
"cquery.highlighting.colors.freeStandingFunctions": ["#82aaff"],
"cquery.highlighting.colors.freeStandingVariables": ["#a0b6eb"],
"cquery.highlighting.colors.globalVariables": ["#f07178"],
"cquery.highlighting.colors.macros": ["#89ddff"],
"cquery.highlighting.colors.memberFunctions": ["#82aaff"],
"cquery.highlighting.colors.memberVariables": ["#f07178"],
"cquery.highlighting.colors.namespaces": ["#ffcb6b"],
"cquery.highlighting.colors.parameters": ["#f78c6c"],
"cquery.highlighting.colors.staticMemberFunctions": ["#82aaff"],
"cquery.highlighting.colors.staticMemberVariables": ["#f07178"],
"cquery.highlighting.colors.templateParameters": ["#ffcb6b"],
"cquery.highlighting.colors.typeAliases": ["#ffcb6b"],
"cquery.highlighting.colors.types": ["#ffcb6b"],
@malte-v
Copy link
Author

malte-v commented Aug 4, 2019

  1. Install cquery and its VSCode plugin (https://github.com/cquery-project/cquery/wiki/Visual-Studio-Code).
  2. Install equinusocio's material theme.
  3. Add the contents of this gist to your settings.json.
  4. Enjoy!
    2019-08-04-165119_1920x1080_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment