mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Add a few more token scopes to themes
Fixes https://github.com/microsoft/vscode/issues/80783
This commit is contained in:
@@ -16,7 +16,13 @@ void Rectangle::set_values (int x, int y) {
|
|||||||
height = y;
|
height = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long double operator "" _w(long double);
|
||||||
|
#define MY_MACRO(a, b)
|
||||||
|
|
||||||
int main () {
|
int main () {
|
||||||
|
1.2_w; // calls operator "" _w(1.2L)
|
||||||
|
asm("movl %a %b");
|
||||||
|
MY_MACRO(1, 2);
|
||||||
Rectangle rect;
|
Rectangle rect;
|
||||||
rect.set_values (3,4);
|
rect.set_values (3,4);
|
||||||
cout << "area: " << rect.area();
|
cout << "area: " << rect.area();
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
"c": "_UCRT",
|
"c": "_UCRT",
|
||||||
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -91,10 +91,10 @@
|
|||||||
"c": "_UCRT",
|
"c": "_UCRT",
|
||||||
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
"c": "_UCRT",
|
"c": "_UCRT",
|
||||||
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -80,10 +80,10 @@
|
|||||||
"c": "_UCRT",
|
"c": "_UCRT",
|
||||||
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
"c": "DOCTEST_IMPLEMENT_FIXTURE",
|
"c": "DOCTEST_IMPLEMENT_FIXTURE",
|
||||||
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
"c": "B4G_DEBUG_CHECK",
|
"c": "B4G_DEBUG_CHECK",
|
||||||
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1807,10 +1807,10 @@
|
|||||||
"c": "movw $0x38, %ax; ltr %ax",
|
"c": "movw $0x38, %ax; ltr %ax",
|
||||||
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp string.quoted.double.cpp meta.embedded.assembly.cpp",
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp string.quoted.double.cpp meta.embedded.assembly.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "meta.embedded: #D4D4D4",
|
"dark_plus": "meta.embedded.assembly: #CE9178",
|
||||||
"light_plus": "meta.embedded: #000000",
|
"light_plus": "meta.embedded.assembly: #A31515",
|
||||||
"dark_vs": "meta.embedded: #D4D4D4",
|
"dark_vs": "meta.embedded.assembly: #CE9178",
|
||||||
"light_vs": "meta.embedded: #000000",
|
"light_vs": "meta.embedded.assembly: #A31515",
|
||||||
"hc_black": "meta.embedded: #FFFFFF"
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -190,10 +190,10 @@
|
|||||||
"c": "EXTERN_C",
|
"c": "EXTERN_C",
|
||||||
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
||||||
"r": {
|
"r": {
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_plus": "entity.name.function: #795E26",
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
"dark_vs": "meta.preprocessor: #569CD6",
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
"light_vs": "meta.preprocessor: #0000FF",
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1011,6 +1011,281 @@
|
|||||||
"hc_black": "default: #FFFFFF"
|
"hc_black": "default: #FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"c": "long",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.qualified_type.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.qualified_type.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "double",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.qualified_type.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "operator",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp keyword.other.operator.overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "keyword.other.operator: #C586C0",
|
||||||
|
"light_plus": "keyword.other.operator: #AF00DB",
|
||||||
|
"dark_vs": "keyword: #569CD6",
|
||||||
|
"light_vs": "keyword: #0000FF",
|
||||||
|
"hc_black": "keyword.other.operator: #C586C0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "\"\"",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp entity.name.operator.custom-literal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "entity.name.operator.custom-literal: #DCDCAA",
|
||||||
|
"light_plus": "entity.name.operator.custom-literal: #795E26",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "_w",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp entity.name.operator.custom-literal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "entity.name.operator.custom-literal: #DCDCAA",
|
||||||
|
"light_plus": "entity.name.operator.custom-literal: #795E26",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "(",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp punctuation.section.parameters.begin.bracket.round.special.operator-overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "long",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp meta.function.definition.parameters.special.operator-overload.cpp meta.parameter.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp meta.function.definition.parameters.special.operator-overload.cpp meta.parameter.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "double",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp meta.function.definition.parameters.special.operator-overload.cpp meta.parameter.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ")",
|
||||||
|
"t": "source.cpp meta.function.definition.special.operator-overload.cpp meta.head.function.definition.special.operator-overload.cpp punctuation.section.parameters.end.bracket.round.special.operator-overload.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ";",
|
||||||
|
"t": "source.cpp punctuation.terminator.statement.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "#",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp keyword.control.directive.define.cpp punctuation.definition.directive.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "keyword.control: #C586C0",
|
||||||
|
"light_plus": "keyword.control: #AF00DB",
|
||||||
|
"dark_vs": "keyword.control: #569CD6",
|
||||||
|
"light_vs": "keyword.control: #0000FF",
|
||||||
|
"hc_black": "keyword.control: #C586C0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "define",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp keyword.control.directive.define.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "keyword.control: #C586C0",
|
||||||
|
"light_plus": "keyword.control: #AF00DB",
|
||||||
|
"dark_vs": "keyword.control: #569CD6",
|
||||||
|
"light_vs": "keyword.control: #0000FF",
|
||||||
|
"hc_black": "keyword.control: #C586C0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.preprocessor: #569CD6",
|
||||||
|
"light_plus": "meta.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "meta.preprocessor: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "MY_MACRO",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "entity.name.function.preprocessor: #569CD6",
|
||||||
|
"light_plus": "entity.name.function.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "entity.name.function.preprocessor: #569CD6",
|
||||||
|
"light_vs": "entity.name.function.preprocessor: #0000FF",
|
||||||
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "(",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp punctuation.definition.parameters.begin.preprocessor.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.preprocessor: #569CD6",
|
||||||
|
"light_plus": "meta.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "meta.preprocessor: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "a",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp variable.parameter.preprocessor.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "variable: #9CDCFE",
|
||||||
|
"light_plus": "variable: #001080",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "variable: #9CDCFE"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ",",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp punctuation.separator.parameters.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.preprocessor: #569CD6",
|
||||||
|
"light_plus": "meta.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "meta.preprocessor: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.preprocessor: #569CD6",
|
||||||
|
"light_plus": "meta.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "meta.preprocessor: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "b",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp variable.parameter.preprocessor.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "variable: #9CDCFE",
|
||||||
|
"light_plus": "variable: #001080",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "variable: #9CDCFE"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ")",
|
||||||
|
"t": "source.cpp meta.preprocessor.macro.cpp punctuation.definition.parameters.end.preprocessor.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.preprocessor: #569CD6",
|
||||||
|
"light_plus": "meta.preprocessor: #0000FF",
|
||||||
|
"dark_vs": "meta.preprocessor: #569CD6",
|
||||||
|
"light_vs": "meta.preprocessor: #0000FF",
|
||||||
|
"hc_black": "meta.preprocessor: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"c": "int",
|
"c": "int",
|
||||||
"t": "source.cpp meta.function.definition.cpp meta.qualified_type.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
"t": "source.cpp meta.function.definition.cpp meta.qualified_type.cpp storage.type.primitive.cpp storage.type.built-in.primitive.cpp",
|
||||||
@@ -1099,6 +1374,292 @@
|
|||||||
"hc_black": "default: #FFFFFF"
|
"hc_black": "default: #FFFFFF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "1",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp constant.numeric.decimal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.numeric: #B5CEA8",
|
||||||
|
"light_plus": "constant.numeric: #09885A",
|
||||||
|
"dark_vs": "constant.numeric: #B5CEA8",
|
||||||
|
"light_vs": "constant.numeric: #09885A",
|
||||||
|
"hc_black": "constant.numeric: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ".",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp constant.numeric.decimal.point.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.numeric: #B5CEA8",
|
||||||
|
"light_plus": "constant.numeric: #09885A",
|
||||||
|
"dark_vs": "constant.numeric: #B5CEA8",
|
||||||
|
"light_vs": "constant.numeric: #09885A",
|
||||||
|
"hc_black": "constant.numeric: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "2",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp constant.numeric.decimal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.numeric: #B5CEA8",
|
||||||
|
"light_plus": "constant.numeric: #09885A",
|
||||||
|
"dark_vs": "constant.numeric: #B5CEA8",
|
||||||
|
"light_vs": "constant.numeric: #09885A",
|
||||||
|
"hc_black": "constant.numeric: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "_w",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp keyword.other.unit.user-defined.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "keyword.other.unit: #B5CEA8",
|
||||||
|
"light_plus": "keyword.other.unit: #09885A",
|
||||||
|
"dark_vs": "keyword.other.unit: #B5CEA8",
|
||||||
|
"light_vs": "keyword.other.unit: #09885A",
|
||||||
|
"hc_black": "keyword.other.unit: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ";",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.terminator.statement.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp comment.line.double-slash.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "//",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp comment.line.double-slash.cpp punctuation.definition.comment.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " calls operator \"\" _w(1.2L)",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp comment.line.double-slash.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "comment: #6A9955",
|
||||||
|
"light_plus": "comment: #008000",
|
||||||
|
"dark_vs": "comment: #6A9955",
|
||||||
|
"light_vs": "comment: #008000",
|
||||||
|
"hc_black": "comment: #7CA668"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "asm",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp storage.type.asm.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "storage.type: #569CD6",
|
||||||
|
"light_plus": "storage.type: #0000FF",
|
||||||
|
"dark_vs": "storage.type: #569CD6",
|
||||||
|
"light_vs": "storage.type: #0000FF",
|
||||||
|
"hc_black": "storage.type: #569CD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "(",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp punctuation.section.parens.begin.bracket.round.assembly.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "\"",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp string.quoted.double.cpp punctuation.definition.string.begin.assembly.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "string: #CE9178",
|
||||||
|
"light_plus": "string: #A31515",
|
||||||
|
"dark_vs": "string: #CE9178",
|
||||||
|
"light_vs": "string: #A31515",
|
||||||
|
"hc_black": "string: #CE9178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "movl %a %b",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp string.quoted.double.cpp meta.embedded.assembly.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "meta.embedded.assembly: #CE9178",
|
||||||
|
"light_plus": "meta.embedded.assembly: #A31515",
|
||||||
|
"dark_vs": "meta.embedded.assembly: #CE9178",
|
||||||
|
"light_vs": "meta.embedded.assembly: #A31515",
|
||||||
|
"hc_black": "meta.embedded: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "\"",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp string.quoted.double.cpp punctuation.definition.string.end.assembly.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "string: #CE9178",
|
||||||
|
"light_plus": "string: #A31515",
|
||||||
|
"dark_vs": "string: #CE9178",
|
||||||
|
"light_vs": "string: #A31515",
|
||||||
|
"hc_black": "string: #CE9178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ")",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp meta.asm.cpp punctuation.section.parens.end.bracket.round.assembly.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ";",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.terminator.statement.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "MY_MACRO",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp entity.name.function.call.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "entity.name.function: #DCDCAA",
|
||||||
|
"light_plus": "entity.name.function: #795E26",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "entity.name.function: #DCDCAA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "(",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.section.arguments.begin.bracket.round.function.call.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "1",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp constant.numeric.decimal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.numeric: #B5CEA8",
|
||||||
|
"light_plus": "constant.numeric: #09885A",
|
||||||
|
"dark_vs": "constant.numeric: #B5CEA8",
|
||||||
|
"light_vs": "constant.numeric: #09885A",
|
||||||
|
"hc_black": "constant.numeric: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ",",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.separator.delimiter.comma.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": " ",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": "2",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp constant.numeric.decimal.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "constant.numeric: #B5CEA8",
|
||||||
|
"light_plus": "constant.numeric: #09885A",
|
||||||
|
"dark_vs": "constant.numeric: #B5CEA8",
|
||||||
|
"light_vs": "constant.numeric: #09885A",
|
||||||
|
"hc_black": "constant.numeric: #B5CEA8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ")",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.section.arguments.end.bracket.round.function.call.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"c": ";",
|
||||||
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp punctuation.terminator.statement.cpp",
|
||||||
|
"r": {
|
||||||
|
"dark_plus": "default: #D4D4D4",
|
||||||
|
"light_plus": "default: #000000",
|
||||||
|
"dark_vs": "default: #D4D4D4",
|
||||||
|
"light_vs": "default: #000000",
|
||||||
|
"hc_black": "default: #FFFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"c": " Rectangle rect",
|
"c": " Rectangle rect",
|
||||||
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
"t": "source.cpp meta.function.definition.cpp meta.body.function.definition.cpp",
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity.name.function",
|
"entity.name.function",
|
||||||
"support.function",
|
"support.function",
|
||||||
"support.constant.handlebars",
|
"support.constant.handlebars",
|
||||||
"source.powershell variable.other.member"
|
"source.powershell variable.other.member",
|
||||||
|
"entity.name.operator.custom-literal" // See https://en.cppreference.com/w/cpp/language/user_literal
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#DCDCAA"
|
"foreground": "#DCDCAA"
|
||||||
|
|||||||
@@ -171,7 +171,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"scope": [
|
"scope": [
|
||||||
"meta.preprocessor"
|
"meta.preprocessor",
|
||||||
|
"entity.name.function.preprocessor"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#569cd6"
|
"foreground": "#569cd6"
|
||||||
@@ -226,6 +227,7 @@
|
|||||||
"scope": [
|
"scope": [
|
||||||
"string",
|
"string",
|
||||||
"entity.name.operator.custom-literal.string",
|
"entity.name.operator.custom-literal.string",
|
||||||
|
"meta.embedded.assembly"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#ce9178"
|
"foreground": "#ce9178"
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"entity.name.function",
|
"entity.name.function",
|
||||||
"support.function",
|
"support.function",
|
||||||
"support.constant.handlebars",
|
"support.constant.handlebars",
|
||||||
"source.powershell variable.other.member"
|
"source.powershell variable.other.member",
|
||||||
|
"entity.name.operator.custom-literal" // See https://en.cppreference.com/w/cpp/language/user_literal
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#795E26"
|
"foreground": "#795E26"
|
||||||
|
|||||||
@@ -169,7 +169,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"scope": [
|
"scope": [
|
||||||
"meta.preprocessor"
|
"meta.preprocessor",
|
||||||
|
"entity.name.function.preprocessor"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#0000ff"
|
"foreground": "#0000ff"
|
||||||
@@ -218,6 +219,7 @@
|
|||||||
"scope": [
|
"scope": [
|
||||||
"string",
|
"string",
|
||||||
"entity.name.operator.custom-literal.string",
|
"entity.name.operator.custom-literal.string",
|
||||||
|
"meta.embedded.assembly"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"foreground": "#a31515"
|
"foreground": "#a31515"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ let tokenClassificationRegistry = getTokenClassificationRegistry();
|
|||||||
|
|
||||||
const tokenGroupToScopesMap = {
|
const tokenGroupToScopesMap = {
|
||||||
comments: ['comment', 'punctuation.definition.comment'],
|
comments: ['comment', 'punctuation.definition.comment'],
|
||||||
strings: ['string'],
|
strings: ['string', 'meta.embedded.assembly'],
|
||||||
keywords: ['keyword - keyword.operator', 'keyword.control', 'storage', 'storage.type'],
|
keywords: ['keyword - keyword.operator', 'keyword.control', 'storage', 'storage.type'],
|
||||||
numbers: ['constant.numeric'],
|
numbers: ['constant.numeric'],
|
||||||
types: ['entity.name.type', 'entity.name.class', 'support.type', 'support.class'],
|
types: ['entity.name.type', 'entity.name.class', 'support.type', 'support.class'],
|
||||||
|
|||||||
Reference in New Issue
Block a user