Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
de957293
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,发现更多精彩内容 >>
提交
de957293
编写于
10月 14, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ts] upate grammar, remove meta scopes
上级
d34c873d
变更
21
展开全部
隐藏空白更改
内联
并排
Showing
21 changed file
with
19050 addition
and
6740 deletion
+19050
-6740
extensions/html/test/colorize-results/test_html.json
extensions/html/test/colorize-results/test_html.json
+357
-49
extensions/jade/test/colorize-results/test_jade.json
extensions/jade/test/colorize-results/test_jade.json
+198
-22
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
+2697
-852
extensions/javascript/test/colorize-results/test6916_js.json
extensions/javascript/test/colorize-results/test6916_js.json
+154
-44
extensions/javascript/test/colorize-results/test_js.json
extensions/javascript/test/colorize-results/test_js.json
+2072
-620
extensions/javascript/test/colorize-results/test_jsx.json
extensions/javascript/test/colorize-results/test_jsx.json
+995
-401
extensions/theme-defaults/themes/dark_plus.json
extensions/theme-defaults/themes/dark_plus.json
+0
-4
extensions/theme-defaults/themes/light_plus.json
extensions/theme-defaults/themes/light_plus.json
+0
-4
extensions/typescript/syntaxes/Readme.md
extensions/typescript/syntaxes/Readme.md
+11
-0
extensions/typescript/syntaxes/TypeScript.tmLanguage.json
extensions/typescript/syntaxes/TypeScript.tmLanguage.json
+2494
-708
extensions/typescript/syntaxes/TypeScriptReact.tmLanguage.json
...sions/typescript/syntaxes/TypeScriptReact.tmLanguage.json
+2697
-852
extensions/typescript/test/colorize-results/test-brackets_tsx.json
...s/typescript/test/colorize-results/test-brackets_tsx.json
+115
-203
extensions/typescript/test/colorize-results/test-function-inv_ts.json
...ypescript/test/colorize-results/test-function-inv_ts.json
+98
-21
extensions/typescript/test/colorize-results/test-issue11_ts.json
...ons/typescript/test/colorize-results/test-issue11_ts.json
+1005
-367
extensions/typescript/test/colorize-results/test-issue5431_ts.json
...s/typescript/test/colorize-results/test-issue5431_ts.json
+186
-76
extensions/typescript/test/colorize-results/test-issue5465_ts.json
...s/typescript/test/colorize-results/test-issue5465_ts.json
+102
-25
extensions/typescript/test/colorize-results/test-issue5566_ts.json
...s/typescript/test/colorize-results/test-issue5566_ts.json
+180
-59
extensions/typescript/test/colorize-results/test-keywords_ts.json
...ns/typescript/test/colorize-results/test-keywords_ts.json
+77
-33
extensions/typescript/test/colorize-results/test-members_ts.json
...ons/typescript/test/colorize-results/test-members_ts.json
+65
-43
extensions/typescript/test/colorize-results/test-this_ts.json
...nsions/typescript/test/colorize-results/test-this_ts.json
+34
-12
extensions/typescript/test/colorize-results/test_ts.json
extensions/typescript/test/colorize-results/test_ts.json
+5513
-2345
未找到文件。
extensions/html/test/colorize-results/test_html.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/jade/test/colorize-results/test_jade.json
浏览文件 @
de957293
...
...
@@ -155,7 +155,7 @@
},
{
"c"
:
"100"
,
"t"
:
"attribute_value.constant.js.meta.numeric.other.tag"
,
"t"
:
"attribute_value.constant.
decimal.
js.meta.numeric.other.tag"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.tag rgb(128, 128, 128)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.tag rgb(128, 0, 0)"
,
...
...
@@ -177,7 +177,7 @@
},
{
"c"
:
"2"
,
"t"
:
"attribute_value.constant.js.meta.numeric.other.tag"
,
"t"
:
"attribute_value.constant.
decimal.
js.meta.numeric.other.tag"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.tag rgb(128, 128, 128)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.tag rgb(128, 0, 0)"
,
...
...
@@ -297,7 +297,7 @@
}
},
{
"c"
:
"
maintainer.twitter
"
,
"c"
:
" "
,
"t"
:
"js.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -307,6 +307,39 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"maintainer"
,
"t"
:
"js.object.other.source.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"
:
"accessor.js.punctuation.source"
,
"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"
:
"twitter"
,
"t"
:
"js.other.property.source.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"
:
""
,
...
...
@@ -419,7 +452,7 @@
},
{
"c"
:
"100"
,
"t"
:
"attribute_value.constant.js.meta.numeric.other.tag"
,
"t"
:
"attribute_value.constant.
decimal.
js.meta.numeric.other.tag"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.tag rgb(128, 128, 128)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.tag rgb(128, 0, 0)"
,
...
...
@@ -441,7 +474,7 @@
},
{
"c"
:
"2"
,
"t"
:
"attribute_value.constant.js.meta.numeric.other.tag"
,
"t"
:
"attribute_value.constant.
decimal.
js.meta.numeric.other.tag"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.tag rgb(128, 128, 128)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.tag rgb(128, 0, 0)"
,
...
...
@@ -561,7 +594,7 @@
}
},
{
"c"
:
"
maintainer.blog
"
,
"c"
:
" "
,
"t"
:
"js.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -572,8 +605,19 @@
}
},
{
"c"
:
"-"
,
"t"
:
"js.source"
,
"c"
:
"maintainer"
,
"t"
:
"js.object.other.source.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"
:
"accessor.js.punctuation.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -583,8 +627,19 @@
}
},
{
"c"
:
" "
,
"t"
:
"expr.js.meta.source.var"
,
"c"
:
"blog"
,
"t"
:
"js.other.property.source.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"
:
"js.source"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -617,7 +672,7 @@
},
{
"c"
:
"user"
,
"t"
:
"expr.js.meta.source.var.var-single-variable.variable"
,
"t"
:
"expr.js.meta.
other.readwrite.
source.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)"
,
...
...
@@ -627,7 +682,7 @@
}
},
{
"c"
:
"
=
"
,
"c"
:
" "
,
"t"
:
"expr.js.meta.source.var.var-single-variable"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -637,9 +692,31 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"="
,
"t"
:
"assignment.expr.js.keyword.meta.operator.source.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.js.meta.source.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.
brace.curly.expr.js.meta.source.var.var-single-variable
"
,
"t"
:
"block.
definition.expr.js.meta.object-literal.punctuation.source.var
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -650,7 +727,7 @@
},
{
"c"
:
" "
,
"t"
:
"
block.expr.js.meta.source.var.var-single-variable
"
,
"t"
:
"
expr.js.meta.object-literal.source.var
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -660,8 +737,8 @@
}
},
{
"c"
:
"name
:
"
,
"t"
:
"
block.expr.js.member.meta.object.source.var.var-single-variable
"
,
"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)"
,
...
...
@@ -671,8 +748,52 @@
}
},
{
"c"
:
"'John'"
,
"t"
:
"block.expr.js.member.meta.object.single.source.string.var.var-single-variable"
,
"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_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.js.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_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"
:
"begin.definition.expr.js.member.meta.object.object-literal.punctuation.quoted.single.source.string.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_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)"
}
},
{
"c"
:
"John"
,
"t"
:
"expr.js.member.meta.object.object-literal.quoted.single.source.string.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_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)"
}
},
{
"c"
:
"'"
,
"t"
:
"definition.end.expr.js.member.meta.object.object-literal.punctuation.quoted.single.source.string.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)"
,
...
...
@@ -683,7 +804,7 @@
},
{
"c"
:
" "
,
"t"
:
"
block.expr.js.member.meta.object.source.var.var-single-variable
"
,
"t"
:
"
expr.js.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)"
,
...
...
@@ -694,7 +815,7 @@
},
{
"c"
:
"}"
,
"t"
:
"block.
brace.curly.expr.js.meta.source.var.var-single-variable
"
,
"t"
:
"block.
definition.expr.js.meta.object-literal.punctuation.source.var
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -715,7 +836,7 @@
}
},
{
"c"
:
"
user
"
,
"c"
:
" "
,
"t"
:
"control.flow.jade.meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -725,6 +846,17 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"user"
,
"t"
:
"control.flow.jade.js.meta.other.readwrite.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"
:
""
,
...
...
@@ -814,7 +946,51 @@
}
},
{
"c"
:
"#{user.name}"
,
"c"
:
"#{"
,
"t"
:
"block.interpolated.jade.string.text"
,
"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.jade rgb(0, 0, 255)"
,
"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.jade rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
"c"
:
"user"
,
"t"
:
"block.interpolated.jade.js.object.other.string.text.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.string.jade rgb(0, 0, 255)"
,
"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.jade rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
"c"
:
"."
,
"t"
:
"accessor.block.interpolated.jade.js.punctuation.string.text"
,
"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.jade rgb(0, 0, 255)"
,
"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.jade rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
"c"
:
"name"
,
"t"
:
"block.dom.interpolated.jade.js.property.string.support.text.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.string.jade rgb(0, 0, 255)"
,
"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.jade rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
"c"
:
"}"
,
"t"
:
"block.interpolated.jade.string.text"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)"
,
...
...
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/javascript/test/colorize-results/test6916_js.json
浏览文件 @
de957293
[
{
"c"
:
"for"
,
"t"
:
"control.js.keyword"
,
"t"
:
"control.js.keyword
.loop
"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)"
,
...
...
@@ -12,7 +12,7 @@
},
{
"c"
:
"("
,
"t"
:
"brace.js.meta.
paren
"
,
"t"
:
"brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -23,7 +23,7 @@
},
{
"c"
:
"var"
,
"t"
:
"
js.storage.type
"
,
"t"
:
"
expr.js.meta.storage.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)"
,
...
...
@@ -33,8 +33,8 @@
}
},
{
"c"
:
"
i
"
,
"t"
:
""
,
"c"
:
" "
,
"t"
:
"
expr.js.meta.var
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -43,9 +43,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"i"
,
"t"
:
"expr.js.meta.other.readwrite.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"
:
"
comparison.js.keyword.operato
r"
,
"t"
:
"
assignment.expr.js.keyword.meta.operator.va
r"
,
"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)"
,
...
...
@@ -56,7 +67,7 @@
},
{
"c"
:
"0"
,
"t"
:
"constant.
js.numeric
"
,
"t"
:
"constant.
decimal.expr.js.meta.numeric.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)"
,
...
...
@@ -66,8 +77,8 @@
}
},
{
"c"
:
";
i
"
,
"t"
:
""
,
"c"
:
";"
,
"t"
:
"
js.punctuation.statement.terminator
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -76,9 +87,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"i"
,
"t"
:
"js.other.readwrite.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"
:
"
comparison.js.keyword.operator
"
,
"t"
:
"
js.keyword.operator.relational
"
,
"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)"
,
...
...
@@ -89,7 +111,7 @@
},
{
"c"
:
"9"
,
"t"
:
"constant.js.numeric"
,
"t"
:
"constant.
decimal.
js.numeric"
,
"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)"
,
...
...
@@ -99,8 +121,8 @@
}
},
{
"c"
:
";
i
"
,
"t"
:
""
,
"c"
:
";"
,
"t"
:
"
js.punctuation.statement.terminator
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -109,9 +131,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"i"
,
"t"
:
"js.other.readwrite.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"
:
"
arithmetic
.js.keyword.operator"
,
"t"
:
"
increment
.js.keyword.operator"
,
"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)"
,
...
...
@@ -122,7 +155,7 @@
},
{
"c"
:
")"
,
"t"
:
"brace.js.meta.
paren
"
,
"t"
:
"brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -133,7 +166,7 @@
},
{
"c"
:
"{"
,
"t"
:
"block.
brace.curly.js.meta
"
,
"t"
:
"block.
definition.js.meta.punctuation
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -144,7 +177,7 @@
},
{
"c"
:
"for"
,
"t"
:
"block.control.js.keyword.meta"
,
"t"
:
"block.control.js.keyword.
loop.
meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)"
,
...
...
@@ -155,7 +188,7 @@
},
{
"c"
:
"("
,
"t"
:
"block.brace.js.meta.
paren
"
,
"t"
:
"block.brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -166,7 +199,7 @@
},
{
"c"
:
"var"
,
"t"
:
"block.
js.meta.storage.type
"
,
"t"
:
"block.
expr.js.meta.storage.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)"
,
...
...
@@ -176,8 +209,8 @@
}
},
{
"c"
:
"
j;j
"
,
"t"
:
"block.
js.meta
"
,
"c"
:
" "
,
"t"
:
"block.
expr.js.meta.var
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -186,9 +219,42 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"j"
,
"t"
:
"block.expr.js.meta.other.readwrite.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"
:
"block.js.meta.punctuation.statement.terminator"
,
"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"
:
"j"
,
"t"
:
"block.js.meta.other.readwrite.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"
:
"block.
comparison.js.keyword.meta.operator
"
,
"t"
:
"block.
js.keyword.meta.operator.relational
"
,
"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)"
,
...
...
@@ -198,8 +264,19 @@
}
},
{
"c"
:
"i;j"
,
"t"
:
"block.js.meta"
,
"c"
:
"i"
,
"t"
:
"block.js.meta.other.readwrite.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"
:
"block.js.meta.punctuation.statement.terminator"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -208,9 +285,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"j"
,
"t"
:
"block.js.meta.other.readwrite.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"
:
"
arithmetic.block
.js.keyword.meta.operator"
,
"t"
:
"
block.increment
.js.keyword.meta.operator"
,
"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)"
,
...
...
@@ -221,7 +309,7 @@
},
{
"c"
:
")"
,
"t"
:
"block.brace.js.meta.
paren
"
,
"t"
:
"block.brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -232,7 +320,7 @@
},
{
"c"
:
"{"
,
"t"
:
"block.
brace.curly.js.meta
"
,
"t"
:
"block.
definition.js.meta.punctuation
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -243,7 +331,7 @@
},
{
"c"
:
"if"
,
"t"
:
"block.control.js.keyword.meta"
,
"t"
:
"block.con
ditional.con
trol.js.keyword.meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)"
,
...
...
@@ -254,7 +342,7 @@
},
{
"c"
:
"("
,
"t"
:
"block.brace.js.meta.
paren
"
,
"t"
:
"block.brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -265,10 +353,10 @@
},
{
"c"
:
"j"
,
"t"
:
"block.js.meta"
,
"t"
:
"block.js.meta
.other.readwrite.variable
"
,
"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.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)"
...
...
@@ -287,10 +375,10 @@
},
{
"c"
:
"i"
,
"t"
:
"block.js.meta"
,
"t"
:
"block.js.meta
.other.readwrite.variable
"
,
"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.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)"
...
...
@@ -298,7 +386,7 @@
},
{
"c"
:
"<"
,
"t"
:
"block.
comparison.js.keyword.meta.operator
"
,
"t"
:
"block.
js.keyword.meta.operator.relational
"
,
"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)"
,
...
...
@@ -309,7 +397,7 @@
},
{
"c"
:
"3"
,
"t"
:
"block.constant.js.meta.numeric"
,
"t"
:
"block.constant.
decimal.
js.meta.numeric"
,
"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)"
,
...
...
@@ -320,7 +408,7 @@
},
{
"c"
:
")"
,
"t"
:
"block.brace.js.meta.
paren
"
,
"t"
:
"block.brace.js.meta.
round
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -331,7 +419,7 @@
},
{
"c"
:
"return"
,
"t"
:
"block.control.js.keyword.meta"
,
"t"
:
"block.control.
flow.
js.keyword.meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)"
,
...
...
@@ -341,7 +429,7 @@
}
},
{
"c"
:
"
i
"
,
"c"
:
" "
,
"t"
:
"block.js.meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -351,9 +439,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"i"
,
"t"
:
"block.js.meta.other.readwrite.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"
:
"block.
comparison.js.keyword.meta.operator
"
,
"t"
:
"block.
js.keyword.meta.operator.relational
"
,
"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)"
,
...
...
@@ -363,8 +462,19 @@
}
},
{
"c"
:
"j;"
,
"t"
:
"block.js.meta"
,
"c"
:
"j"
,
"t"
:
"block.js.meta.other.readwrite.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"
:
"block.js.meta.punctuation.statement.terminator"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -375,7 +485,7 @@
},
{
"c"
:
"}}"
,
"t"
:
"block.
brace.curly.js.meta
"
,
"t"
:
"block.
definition.js.meta.punctuation
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
extensions/javascript/test/colorize-results/test_js.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/javascript/test/colorize-results/test_jsx.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/theme-defaults/themes/dark_plus.json
浏览文件 @
de957293
...
...
@@ -5,11 +5,8 @@
{
"name"
:
"Types declaration and references"
,
"scope"
:
[
"meta.type.name"
,
"meta.return.type"
,
"meta.return-type"
,
"meta.cast"
,
"meta.type.annotation"
,
"support.type"
,
"entity.name.class"
,
"entity.name.type"
,
...
...
@@ -40,7 +37,6 @@
{
"name"
:
"Variable and parameter name"
,
"scope"
:
[
"meta.parameter.type.variable"
,
"variable.parameter"
,
"variable"
,
"variable.name"
...
...
extensions/theme-defaults/themes/light_plus.json
浏览文件 @
de957293
...
...
@@ -5,11 +5,8 @@
{
"name"
:
"Types declaration and references"
,
"scope"
:
[
"meta.type.name"
,
"meta.return.type"
,
"meta.return-type"
,
"meta.cast"
,
"meta.type.annotation"
,
"support.type"
,
"entity.name.class"
,
"entity.name.type"
,
...
...
@@ -40,7 +37,6 @@
{
"name"
:
"Parameter name"
,
"scope"
:
[
"meta.parameter.type.variable"
,
"variable.parameter"
,
"variable"
,
"variable.name"
...
...
extensions/typescript/syntaxes/Readme.md
浏览文件 @
de957293
...
...
@@ -3,3 +3,14 @@ The file `TypeScript.tmLanguage.json` and `TypeScriptReact.tmLanguage.json` are
To update to the latest version:
-
`cd extensions/typescript`
and run
`npm run update-grammars`
-
don't forget to run the integration tests at
`./scripts/test-integration.sh`
Migration notes and todos:
-
differentiate variable and function declarations from references
-
functions now use 'entity.function.name'.
-
My understanding of the textmate spec is that entity should be used for declarations, but other JS grammars also use it for references
-
I suggest we use a new scope segment 'reference' to sigmal a reference and 'declaration' for a declaration.
-
variables use 'variable' through ot which is common practice
-
I suggest we use a new scope segment 'reference' to sigmal a reference and 'declaration' for a declaration.
-
return.type -> return-type
\ No newline at end of file
extensions/typescript/syntaxes/TypeScript.tmLanguage.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/syntaxes/TypeScriptReact.tmLanguage.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-brackets_tsx.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-function-inv_ts.json
浏览文件 @
de957293
[
{
"c"
:
"rowData.push"
,
"t"
:
""
,
"c"
:
"rowData"
,
"t"
:
"object.other.ts.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"
:
"accessor.punctuation.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -11,8 +22,8 @@
}
},
{
"c"
:
"
(
"
,
"t"
:
"
brace.meta.paren
.ts"
,
"c"
:
"
push
"
,
"t"
:
"
function.support
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -22,8 +33,8 @@
}
},
{
"c"
:
"
callback
"
,
"t"
:
""
,
"c"
:
"
(
"
,
"t"
:
"
brace.meta.round.ts
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -32,9 +43,20 @@
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"callback"
,
"t"
:
"entity.function.name.ts"
,
"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, 38)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"("
,
"t"
:
"brace.meta.
paren
.ts"
,
"t"
:
"brace.meta.
round
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -45,13 +67,13 @@
},
{
"c"
:
"new"
,
"t"
:
"expr.keyword.new.o
thers
.ts"
,
"t"
:
"expr.keyword.new.o
perator
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword
.operator.new
rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword
.operator.new
rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword
.operator.new
rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword
.operator.new
rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword
.operator.new
rgb(86, 156, 214)"
}
},
{
...
...
@@ -67,10 +89,10 @@
},
{
"c"
:
"Cell"
,
"t"
:
"e
xpr.meta
.name.new.ts.type"
,
"t"
:
"e
ntity.expr
.name.new.ts.type"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
meta.type.nam
e rgb(78, 201, 176)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
meta.type.nam
e rgb(38, 127, 153)"
,
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
entity.name.typ
e rgb(78, 201, 176)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
entity.name.typ
e rgb(38, 127, 153)"
,
"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)"
...
...
@@ -78,7 +100,62 @@
},
{
"c"
:
"("
,
"t"
:
"brace.meta.paren.ts"
,
"t"
:
"brace.meta.round.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)"
}
},
{
"c"
:
"row"
,
"t"
:
"other.readwrite.ts.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.punctuation.separator.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)"
}
},
{
"c"
:
" "
,
"t"
:
""
,
"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"
:
"col"
,
"t"
:
"other.readwrite.ts.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.punctuation.separator.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -88,7 +165,7 @@
}
},
{
"c"
:
"
row, col,
"
,
"c"
:
" "
,
"t"
:
""
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -100,7 +177,7 @@
},
{
"c"
:
"false"
,
"t"
:
"boolean.constant.language.ts"
,
"t"
:
"boolean.constant.
false.
language.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language rgb(0, 0, 255)"
,
...
...
@@ -111,7 +188,7 @@
},
{
"c"
:
")))"
,
"t"
:
"brace.meta.
paren
.ts"
,
"t"
:
"brace.meta.
round
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -122,7 +199,7 @@
},
{
"c"
:
";"
,
"t"
:
""
,
"t"
:
"
punctuation.statement.terminator.ts
"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
extensions/typescript/test/colorize-results/test-issue11_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-issue5431_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-issue5465_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-issue5566_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-keywords_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-members_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
extensions/typescript/test/colorize-results/test-this_ts.json
浏览文件 @
de957293
[
{
"c"
:
"{"
,
"t"
:
"block.
brace.curly.meta
.ts"
,
"t"
:
"block.
definition.meta.punctuation
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -23,17 +23,39 @@
},
{
"c"
:
"this"
,
"t"
:
"block.
constant.language.meta.this.ts
"
,
"t"
:
"block.
language.meta.this.ts.variable
"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
constant.language rgb(86, 156, 21
4)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.
constant.language rgb(0, 0, 255
)"
,
"dark_vs"
:
".vs-dark
.vscode-theme-defaults-themes-dark_vs-json .token.constant.language rgb(86, 156, 214
)"
,
"light_vs"
:
".vs
.vscode-theme-defaults-themes-light_vs-json .token.constant.language rgb(0, 0, 255
)"
,
"hc_black"
:
".hc-black
.vscode-theme-defaults-themes-hc_black-json .token.constant.language rgb(86, 156, 214
)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.
variable rgb(156, 220, 25
4)"
,
"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"
:
".foo "
,
"c"
:
"."
,
"t"
:
"accessor.block.meta.punctuation.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)"
}
},
{
"c"
:
"foo"
,
"t"
:
"block.meta.other.property.ts.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"
:
"block.meta.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
...
...
@@ -45,7 +67,7 @@
},
{
"c"
:
"="
,
"t"
:
"
block.comparison
.keyword.meta.operator.ts"
,
"t"
:
"
assignment.block
.keyword.meta.operator.ts"
,
"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)"
,
...
...
@@ -67,7 +89,7 @@
},
{
"c"
:
"9"
,
"t"
:
"block.constant.meta.numeric.ts"
,
"t"
:
"block.constant.
decimal.
meta.numeric.ts"
,
"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)"
,
...
...
@@ -78,7 +100,7 @@
},
{
"c"
:
";"
,
"t"
:
"block.meta.ts"
,
"t"
:
"block.meta.
punctuation.statement.terminator.
ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
@@ -89,7 +111,7 @@
},
{
"c"
:
"}"
,
"t"
:
"block.
brace.curly.meta
.ts"
,
"t"
:
"block.
definition.meta.punctuation
.ts"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
...
...
extensions/typescript/test/colorize-results/test_ts.json
浏览文件 @
de957293
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录