Skip to content

Instantly share code, notes, and snippets.

@Mikeysax
Last active October 6, 2023 21:59
Show Gist options
  • Save Mikeysax/f1170769bad090660eb122887f158647 to your computer and use it in GitHub Desktop.
Save Mikeysax/f1170769bad090660eb122887f158647 to your computer and use it in GitHub Desktop.
VSCode editor.tokenColorCustomizations and workbench.colorCustomizations settings.json GDScript token override (Use with Dark Modern VSCode Theme)
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"punctuation.definition.comment"
],
"settings": {
"foreground": "#546E7A"
}
},
{
"scope": [
"entity.name.function",
"meta.function",
"meta.function.method.without-arguments"
],
"settings": {
"foreground": "#61d8f0"
}
},
{
"scope": [
"support.class.library",
"entity.other.inherited-class",
"constant.numeric",
"support.class.component",
"support.class",
"support.type",
"variable.other.constant.ruby",
// NOTE: Maybe below?
"entity.name.type.interface",
"entity.name.type"
],
"settings": {
"foreground": "#41fabe"
}
},
{
"scope": [
"storage.type",
"storage.type.function",
"keyword.language",
"constant.language.boolean",
"meta.function.parameter",
"keyword.control.def",
"keyword.control.module",
"keyword.control.class",
"variable.language.self",
],
"settings": {
"foreground": "#ff7084"
}
},
{
"scope": [
"support.function",
],
"settings": {
"foreground": "#a3a3f4"
}
},
{
"scope": [
"meta.function-call",
"meta.function-call.arguments",
"punctuation.separator.parameters",
"punctuation.definition.parameters",
"meta.brace.round",
"storage.type.function.arrow",
"keyword.operator.logical",
"keyword.operator.arithmetic",
"keyword.operator.comparison",
"meta.function-call"
],
"settings": {
"foreground": "#a9c7fc"
}
},
{
"scope": [
"keyword.control",
],
"settings": {
"foreground": "#ff8ccc"
}
},
{
"scope": [
"constant.language",
"variable.other.constant.js",
"meta.definition.variable.js",
"meta.var-single-variable.expr.js",
"variable.other.constant.object.js"
],
"settings": {
"foreground": "#accde9"
}
},
{
"scope": [
"string",
],
"settings": {
"foreground": "#f2e199"
}
},
{
"scope": [
"entity.name.function.decorator",
],
"settings": {
"foreground": "#dd9c65"
}
},
{
"scope": [
"support.function.any-method",
"meta.function-call.js",
"entity.name.function.js"
],
"settings": {
"foreground": "#52a7ee"
}
},
{
"scope": [
"variable",
"punctuation.definition.arguments.start",
"punctuation.definition.arguments.end",
],
"settings": {
"foreground": "#c8c8c8"
}
},
{
"scope": [
"source",
],
"settings": {
"foreground": "#c6c6c6"
}
},
],
},
"workbench.colorCustomizations": {
"editor.background": "#1a1a1a",
"sideBar.background": "#1e1e1e",
"sideBarSectionHeader.background": "#1e1e1e",
"breadcrumb.background": "#232323",
"statusBar.background": "#232323",
"statusBar.foreground": "#626262",
"minimap.background": "#1a1a1a",
"titleBar.activeBackground": "#1a1a1a",
"editorGroupHeader.tabsBackground": "#1e1e1e",
"activityBar.background": "#232323",
"tab.inactiveBackground": "#1e1e1e",
"tab.activeBackground": "#232323",
},
@Mikeysax
Copy link
Author

Mikeysax commented Oct 6, 2023

This is a work in progress for Godot syntax highlighting in any language in VSCode

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