Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
ef582f49
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ef582f49
编写于
12月 02, 2019
作者:
A
Alex Ross
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add a few more token scopes to themes
Fixes
https://github.com/microsoft/vscode/issues/80783
上级
c26146d7
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
610 addition
and
37 deletion
+610
-37
extensions/cpp/test/colorize-fixtures/test.cpp
extensions/cpp/test/colorize-fixtures/test.cpp
+6
-0
extensions/cpp/test/colorize-results/test-23630_cpp.json
extensions/cpp/test/colorize-results/test-23630_cpp.json
+8
-8
extensions/cpp/test/colorize-results/test-23850_cpp.json
extensions/cpp/test/colorize-results/test-23850_cpp.json
+8
-8
extensions/cpp/test/colorize-results/test-78769_cpp.json
extensions/cpp/test/colorize-results/test-78769_cpp.json
+4
-4
extensions/cpp/test/colorize-results/test_cc.json
extensions/cpp/test/colorize-results/test_cc.json
+8
-8
extensions/cpp/test/colorize-results/test_cpp.json
extensions/cpp/test/colorize-results/test_cpp.json
+565
-4
extensions/theme-defaults/themes/dark_plus.json
extensions/theme-defaults/themes/dark_plus.json
+2
-1
extensions/theme-defaults/themes/dark_vs.json
extensions/theme-defaults/themes/dark_vs.json
+3
-1
extensions/theme-defaults/themes/light_plus.json
extensions/theme-defaults/themes/light_plus.json
+2
-1
extensions/theme-defaults/themes/light_vs.json
extensions/theme-defaults/themes/light_vs.json
+3
-1
src/vs/workbench/services/themes/common/colorThemeData.ts
src/vs/workbench/services/themes/common/colorThemeData.ts
+1
-1
未找到文件。
extensions/cpp/test/colorize-fixtures/test.cpp
浏览文件 @
ef582f49
...
...
@@ -16,7 +16,13 @@ void Rectangle::set_values (int x, int y) {
height
=
y
;
}
long
double
operator
""
_w
(
long
double
);
#define MY_MACRO(a, b)
int
main
()
{
1.2
_w
;
// calls operator "" _w(1.2L)
asm
(
"movl %a %b"
);
MY_MACRO
(
1
,
2
);
Rectangle
rect
;
rect
.
set_values
(
3
,
4
);
cout
<<
"area: "
<<
rect
.
area
();
...
...
extensions/cpp/test/colorize-results/test-23630_cpp.json
浏览文件 @
ef582f49
...
...
@@ -36,10 +36,10 @@
"c"
:
"_UCRT"
,
"t"
:
"source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
@@ -91,10 +91,10 @@
"c"
:
"_UCRT"
,
"t"
:
"source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
extensions/cpp/test/colorize-results/test-23850_cpp.json
浏览文件 @
ef582f49
...
...
@@ -36,10 +36,10 @@
"c"
:
"_UCRT"
,
"t"
:
"source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
@@ -80,10 +80,10 @@
"c"
:
"_UCRT"
,
"t"
:
"source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
extensions/cpp/test/colorize-results/test-78769_cpp.json
浏览文件 @
ef582f49
...
...
@@ -36,10 +36,10 @@
"c"
:
"DOCTEST_IMPLEMENT_FIXTURE"
,
"t"
:
"source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
extensions/cpp/test/colorize-results/test_cc.json
浏览文件 @
ef582f49
...
...
@@ -36,10 +36,10 @@
"c"
:
"B4G_DEBUG_CHECK"
,
"t"
:
"source.cpp meta.preprocessor.conditional.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
@@ -1807,10 +1807,10 @@
"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"
,
"r"
:
{
"dark_plus"
:
"meta.embedded
: #D4D4D4
"
,
"light_plus"
:
"meta.embedded
: #000000
"
,
"dark_vs"
:
"meta.embedded
: #D4D4D4
"
,
"light_vs"
:
"meta.embedded
: #000000
"
,
"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"
}
},
...
...
extensions/cpp/test/colorize-results/test_cpp.json
浏览文件 @
ef582f49
...
...
@@ -190,10 +190,10 @@
"c"
:
"EXTERN_C"
,
"t"
:
"source.cpp meta.preprocessor.macro.cpp entity.name.function.preprocessor.cpp"
,
"r"
:
{
"dark_plus"
:
"entity.name.function
: #DCDCAA
"
,
"light_plus"
:
"entity.name.function
: #795E26
"
,
"dark_vs"
:
"
meta
.preprocessor: #569CD6"
,
"light_vs"
:
"
meta
.preprocessor: #0000FF"
,
"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"
}
},
...
...
@@ -1011,6 +1011,281 @@
"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"
,
"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"
}
},
{
"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"
,
"t"
:
"source.cpp meta.function.definition.cpp meta.body.function.definition.cpp"
,
...
...
extensions/theme-defaults/themes/dark_plus.json
浏览文件 @
ef582f49
...
...
@@ -9,7 +9,8 @@
"entity.name.function"
,
"support.function"
,
"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"
:
{
"foreground"
:
"#DCDCAA"
...
...
extensions/theme-defaults/themes/dark_vs.json
浏览文件 @
ef582f49
...
...
@@ -171,7 +171,8 @@
},
{
"scope"
:
[
"meta.preprocessor"
"meta.preprocessor"
,
"entity.name.function.preprocessor"
],
"settings"
:
{
"foreground"
:
"#569cd6"
...
...
@@ -226,6 +227,7 @@
"scope"
:
[
"string"
,
"entity.name.operator.custom-literal.string"
,
"meta.embedded.assembly"
],
"settings"
:
{
"foreground"
:
"#ce9178"
...
...
extensions/theme-defaults/themes/light_plus.json
浏览文件 @
ef582f49
...
...
@@ -9,7 +9,8 @@
"entity.name.function"
,
"support.function"
,
"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"
:
{
"foreground"
:
"#795E26"
...
...
extensions/theme-defaults/themes/light_vs.json
浏览文件 @
ef582f49
...
...
@@ -169,7 +169,8 @@
},
{
"scope"
:
[
"meta.preprocessor"
"meta.preprocessor"
,
"entity.name.function.preprocessor"
],
"settings"
:
{
"foreground"
:
"#0000ff"
...
...
@@ -218,6 +219,7 @@
"scope"
:
[
"string"
,
"entity.name.operator.custom-literal.string"
,
"meta.embedded.assembly"
],
"settings"
:
{
"foreground"
:
"#a31515"
...
...
src/vs/workbench/services/themes/common/colorThemeData.ts
浏览文件 @
ef582f49
...
...
@@ -30,7 +30,7 @@ let tokenClassificationRegistry = getTokenClassificationRegistry();
const
tokenGroupToScopesMap
=
{
comments
:
[
'
comment
'
,
'
punctuation.definition.comment
'
],
strings
:
[
'
string
'
],
strings
:
[
'
string
'
,
'
meta.embedded.assembly
'
],
keywords
:
[
'
keyword - keyword.operator
'
,
'
keyword.control
'
,
'
storage
'
,
'
storage.type
'
],
numbers
:
[
'
constant.numeric
'
],
types
:
[
'
entity.name.type
'
,
'
entity.name.class
'
,
'
support.type
'
,
'
support.class
'
],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录