Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
f38751b6
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f38751b6
编写于
10月 17, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ts] color object literal keys
上级
bf829816
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
379 addition
and
60 deletion
+379
-60
extensions/html/test/colorize-results/test_html.json
extensions/html/test/colorize-results/test_html.json
+12
-12
extensions/jade/test/colorize-results/test_jade.json
extensions/jade/test/colorize-results/test_jade.json
+4
-4
extensions/javascript/test/colorize-results/test_js.json
extensions/javascript/test/colorize-results/test_js.json
+16
-16
extensions/javascript/test/colorize-results/test_jsx.json
extensions/javascript/test/colorize-results/test_jsx.json
+20
-20
extensions/theme-defaults/themes/dark_plus.json
extensions/theme-defaults/themes/dark_plus.json
+7
-0
extensions/theme-defaults/themes/light_plus.json
extensions/theme-defaults/themes/light_plus.json
+7
-0
extensions/typescript/test/colorize-fixtures/test-object-literals.ts
...typescript/test/colorize-fixtures/test-object-literals.ts
+6
-0
extensions/typescript/test/colorize-results/test-issue5566_ts.json
...s/typescript/test/colorize-results/test-issue5566_ts.json
+8
-8
extensions/typescript/test/colorize-results/test-object-literals_ts.json
...script/test/colorize-results/test-object-literals_ts.json
+299
-0
未找到文件。
extensions/html/test/colorize-results/test_html.json
浏览文件 @
f38751b6
...
...
@@ -1576,8 +1576,8 @@
"c"
:
"baseUrl"
,
"t"
:
"embedded.html.js.key.member.meta.object.object-literal.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1587,8 +1587,8 @@
"c"
:
":"
,
"t"
:
"embedded.html.js.key.key-value.member.meta.object.object-literal.punctuation.separator.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1664,8 +1664,8 @@
"c"
:
"paths"
,
"t"
:
"embedded.html.js.key.member.meta.object.object-literal.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1675,8 +1675,8 @@
"c"
:
":"
,
"t"
:
"embedded.html.js.key.key-value.member.meta.object.object-literal.punctuation.separator.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1719,8 +1719,8 @@
"c"
:
"assert"
,
"t"
:
"embedded.html.js.key.member.meta.object.object-literal.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1730,8 +1730,8 @@
"c"
:
":"
,
"t"
:
"embedded.html.js.key.key-value.member.meta.object.object-literal.punctuation.separator.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
extensions/jade/test/colorize-results/test_jade.json
浏览文件 @
f38751b6
...
...
@@ -740,8 +740,8 @@
"c"
:
"name"
,
"t"
:
"expr.js.key.member.meta.object.object-literal.source.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -751,8 +751,8 @@
"c"
:
":"
,
"t"
:
"expr.js.key.key-value.member.meta.object.object-literal.punctuation.separator.source.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
extensions/javascript/test/colorize-results/test_js.json
浏览文件 @
f38751b6
...
...
@@ -938,8 +938,8 @@
"c"
:
"verbose"
,
"t"
:
"expr.js.key.member.meta.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -949,8 +949,8 @@
"c"
:
":"
,
"t"
:
"expr.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1444,8 +1444,8 @@
"c"
:
"base"
,
"t"
:
"block.function.js.key.member.meta.object.object-literal"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -1455,8 +1455,8 @@
"c"
:
":"
,
"t"
:
"block.function.js.key.key-value.member.meta.object.object-literal.punctuation.separator"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -2126,8 +2126,8 @@
"c"
:
"base"
,
"t"
:
"block.expr.function.js.key.member.meta.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -2137,8 +2137,8 @@
"c"
:
":"
,
"t"
:
"block.expr.function.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -2368,8 +2368,8 @@
"c"
:
"base"
,
"t"
:
"block.function.js.key.member.meta.object.object-literal"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -2379,8 +2379,8 @@
"c"
:
":"
,
"t"
:
"block.function.js.key.key-value.member.meta.object.object-literal.punctuation.separator"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
extensions/javascript/test/colorize-results/test_jsx.json
浏览文件 @
f38751b6
...
...
@@ -135,8 +135,8 @@
"c"
:
"getInitialState"
,
"t"
:
"entity.expr.function.js.key.member.meta.name.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
entity.name.function rgb(220, 220, 170
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
entity.name.function rgb(121, 94, 3
8)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 12
8)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -146,8 +146,8 @@
"c"
:
":"
,
"t"
:
"expr.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -289,8 +289,8 @@
"c"
:
"showDefault"
,
"t"
:
"block.expr.function.js.key.member.meta.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -300,8 +300,8 @@
"c"
:
":"
,
"t"
:
"block.expr.function.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -399,8 +399,8 @@
"c"
:
"toggle"
,
"t"
:
"entity.expr.function.js.key.member.meta.name.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
entity.name.function rgb(220, 220, 170
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
entity.name.function rgb(121, 94, 3
8)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 12
8)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -410,8 +410,8 @@
"c"
:
":"
,
"t"
:
"expr.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -751,8 +751,8 @@
"c"
:
"showDefault"
,
"t"
:
"block.expr.function.js.key.member.meta.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -762,8 +762,8 @@
"c"
:
":"
,
"t"
:
"block.expr.function.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -927,8 +927,8 @@
"c"
:
"render"
,
"t"
:
"entity.expr.function.js.key.member.meta.name.object.object-literal.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
entity.name.function rgb(220, 220, 170
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
entity.name.function rgb(121, 94, 3
8)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 12
8)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
@@ -938,8 +938,8 @@
"c"
:
":"
,
"t"
:
"expr.js.key.key-value.member.meta.object.object-literal.punctuation.separator.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
extensions/theme-defaults/themes/dark_plus.json
浏览文件 @
f38751b6
...
...
@@ -59,6 +59,13 @@
"foreground"
:
"#9CDCFE"
}
},
{
"name"
:
"Object keys, TS gammar specific"
,
"scope"
:
"object-literal.member.key"
,
"settings"
:
{
"foreground"
:
"#9CDCFE"
}
},
{
"name"
:
"CSS property value"
,
"scope"
:
[
...
...
extensions/theme-defaults/themes/light_plus.json
浏览文件 @
f38751b6
...
...
@@ -59,6 +59,13 @@
"foreground"
:
"#001080"
}
},
{
"name"
:
"Object keys, TS gammar specific"
,
"scope"
:
"object-literal.member.key"
,
"settings"
:
{
"foreground"
:
"#001080"
}
},
{
"name"
:
"CSS property value"
,
"scope"
:
[
...
...
extensions/typescript/test/colorize-fixtures/test-object-literals.ts
0 → 100644
浏览文件 @
f38751b6
let
s1
=
{
k
:
{
k1
:
s
,
k2
:
1
}
};
\ No newline at end of file
extensions/typescript/test/colorize-results/test-issue5566_ts.json
浏览文件 @
f38751b6
...
...
@@ -278,8 +278,8 @@
"c"
:
"'"
,
"t"
:
"begin.block.definition.expr.function.key.member.meta.object.object-literal.punctuation.quoted.single.string.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
string rgb(206, 145, 120
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
string rgb(163, 21, 21
)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
...
...
@@ -289,8 +289,8 @@
"c"
:
"bar"
,
"t"
:
"block.expr.function.key.member.meta.object.object-literal.quoted.single.string.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
string rgb(206, 145, 120
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
string rgb(163, 21, 21
)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
...
...
@@ -300,8 +300,8 @@
"c"
:
"'"
,
"t"
:
"block.definition.end.expr.function.key.member.meta.object.object-literal.punctuation.quoted.single.string.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
string rgb(206, 145, 120
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
string rgb(163, 21, 21
)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
...
...
@@ -311,8 +311,8 @@
"c"
:
":"
,
"t"
:
"block.expr.function.key.key-value.member.meta.object.object-literal.punctuation.separator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark
.token rgb(212, 212, 212
)"
,
"light_plus"
:
".vs
.token rgb(0, 0, 0
)"
,
"dark_plus"
:
".vs-dark
.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254
)"
,
"light_plus"
:
".vs
.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128
)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
...
...
extensions/typescript/test/colorize-results/test-object-literals_ts.json
0 → 100644
浏览文件 @
f38751b6
[
{
"c"
:
"let"
,
"t"
:
"expr.meta.storage.ts.type.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type rgb(86, 156, 214)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.meta.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"s1"
,
"t"
:
"expr.meta.other.readwrite.ts.var.var-single-variable.variable"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.variable rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.meta.ts.var.var-single-variable"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"="
,
"t"
:
"assignment.expr.keyword.meta.operator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator rgb(212, 212, 212)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.meta.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"{"
,
"t"
:
"block.definition.expr.meta.object-literal.punctuation.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"
\t
"
,
"t"
:
"expr.meta.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"k"
,
"t"
:
"expr.key.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
":"
,
"t"
:
"expr.key.key-value.member.meta.object.object-literal.punctuation.separator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"{"
,
"t"
:
"block.definition.expr.member.meta.object.object-literal.punctuation.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"
\t\t
"
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"k1"
,
"t"
:
"expr.key.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
":"
,
"t"
:
"expr.key.key-value.member.meta.object.object-literal.punctuation.separator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"s"
,
"t"
:
"expr.member.meta.object.object-literal.other.readwrite.ts.var.variable"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.variable rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
","
,
"t"
:
"comma.expr.member.meta.object.object-literal.punctuation.separator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"
\t\t
"
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"k2"
,
"t"
:
"expr.key.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
":"
,
"t"
:
"expr.key.key-value.member.meta.object.object-literal.punctuation.separator.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.object-literal.member.key rgb(156, 220, 254)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.object-literal.member.key rgb(0, 16, 128)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
" "
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"1"
,
"t"
:
"constant.decimal.expr.member.meta.numeric.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric rgb(181, 206, 168)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric rgb(9, 136, 90)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric rgb(181, 206, 168)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric rgb(9, 136, 90)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric rgb(181, 206, 168)"
}
},
{
"c"
:
"
\t
"
,
"t"
:
"expr.member.meta.object.object-literal.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"}"
,
"t"
:
"block.definition.expr.member.meta.object.object-literal.punctuation.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"}"
,
"t"
:
"block.definition.expr.meta.object-literal.punctuation.ts.var"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
";"
,
"t"
:
"punctuation.statement.terminator.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
}
]
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录