Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
86a9e31c
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,发现更多精彩内容 >>
提交
86a9e31c
编写于
6月 10, 2020
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update JS/TS grammars
上级
1275b918
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
77 addition
and
5 deletion
+77
-5
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
+19
-1
extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json
...sions/javascript/syntaxes/JavaScriptReact.tmLanguage.json
+19
-1
extensions/typescript-basics/cgmanifest.json
extensions/typescript-basics/cgmanifest.json
+1
-1
extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json
...ons/typescript-basics/syntaxes/TypeScript.tmLanguage.json
+19
-1
extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json
...ypescript-basics/syntaxes/TypeScriptReact.tmLanguage.json
+19
-1
未找到文件。
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
浏览文件 @
86a9e31c
...
...
@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository."
,
"Once accepted there, we are happy to receive an update request."
],
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
84422d92e164c379ed817ef8e1d6c35b61de233e
"
,
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
fa4e0d3a918db0eab8e5c5be952f3bd649968456
"
,
"name"
:
"JavaScript (with React support)"
,
"scopeName"
:
"source.js"
,
"patterns"
:
[
...
...
@@ -4039,6 +4039,24 @@
}
},
"patterns"
:
[
{
"name"
:
"keyword.operator.rest.js"
,
"match"
:
"
\\
.
\\
.
\\
."
},
{
"match"
:
"(?<![_$[:alnum:]])(?:(?<=
\\
.
\\
.
\\
.)|(?<!
\\
.))([_$[:alpha:]][_$[:alnum:]]*)
\\
s*(
\\
?)?
\\
s*(:)"
,
"captures"
:
{
"1"
:
{
"name"
:
"entity.name.label.js"
},
"2"
:
{
"name"
:
"keyword.operator.optional.js"
},
"3"
:
{
"name"
:
"punctuation.separator.label.js"
}
}
},
{
"include"
:
"#type"
},
...
...
extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json
浏览文件 @
86a9e31c
...
...
@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository."
,
"Once accepted there, we are happy to receive an update request."
],
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
84422d92e164c379ed817ef8e1d6c35b61de233e
"
,
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
fa4e0d3a918db0eab8e5c5be952f3bd649968456
"
,
"name"
:
"JavaScript (with React support)"
,
"scopeName"
:
"source.js.jsx"
,
"patterns"
:
[
...
...
@@ -4039,6 +4039,24 @@
}
},
"patterns"
:
[
{
"name"
:
"keyword.operator.rest.js.jsx"
,
"match"
:
"
\\
.
\\
.
\\
."
},
{
"match"
:
"(?<![_$[:alnum:]])(?:(?<=
\\
.
\\
.
\\
.)|(?<!
\\
.))([_$[:alpha:]][_$[:alnum:]]*)
\\
s*(
\\
?)?
\\
s*(:)"
,
"captures"
:
{
"1"
:
{
"name"
:
"entity.name.label.js.jsx"
},
"2"
:
{
"name"
:
"keyword.operator.optional.js.jsx"
},
"3"
:
{
"name"
:
"punctuation.separator.label.js.jsx"
}
}
},
{
"include"
:
"#type"
},
...
...
extensions/typescript-basics/cgmanifest.json
浏览文件 @
86a9e31c
...
...
@@ -6,7 +6,7 @@
"git"
:
{
"name"
:
"TypeScript-TmLanguage"
,
"repositoryUrl"
:
"https://github.com/Microsoft/TypeScript-TmLanguage"
,
"commitHash"
:
"
84422d92e164c379ed817ef8e1d6c35b61de233e
"
"commitHash"
:
"
fa4e0d3a918db0eab8e5c5be952f3bd649968456
"
}
},
"license"
:
"MIT"
,
...
...
extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json
浏览文件 @
86a9e31c
...
...
@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository."
,
"Once accepted there, we are happy to receive an update request."
],
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
84422d92e164c379ed817ef8e1d6c35b61de233e
"
,
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
fa4e0d3a918db0eab8e5c5be952f3bd649968456
"
,
"name"
:
"TypeScript"
,
"scopeName"
:
"source.ts"
,
"patterns"
:
[
...
...
@@ -4088,6 +4088,24 @@
}
},
"patterns"
:
[
{
"name"
:
"keyword.operator.rest.ts"
,
"match"
:
"
\\
.
\\
.
\\
."
},
{
"match"
:
"(?<![_$[:alnum:]])(?:(?<=
\\
.
\\
.
\\
.)|(?<!
\\
.))([_$[:alpha:]][_$[:alnum:]]*)
\\
s*(
\\
?)?
\\
s*(:)"
,
"captures"
:
{
"1"
:
{
"name"
:
"entity.name.label.ts"
},
"2"
:
{
"name"
:
"keyword.operator.optional.ts"
},
"3"
:
{
"name"
:
"punctuation.separator.label.ts"
}
}
},
{
"include"
:
"#type"
},
...
...
extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json
浏览文件 @
86a9e31c
...
...
@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository."
,
"Once accepted there, we are happy to receive an update request."
],
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
84422d92e164c379ed817ef8e1d6c35b61de233e
"
,
"version"
:
"https://github.com/Microsoft/TypeScript-TmLanguage/commit/
fa4e0d3a918db0eab8e5c5be952f3bd649968456
"
,
"name"
:
"TypeScriptReact"
,
"scopeName"
:
"source.tsx"
,
"patterns"
:
[
...
...
@@ -4039,6 +4039,24 @@
}
},
"patterns"
:
[
{
"name"
:
"keyword.operator.rest.tsx"
,
"match"
:
"
\\
.
\\
.
\\
."
},
{
"match"
:
"(?<![_$[:alnum:]])(?:(?<=
\\
.
\\
.
\\
.)|(?<!
\\
.))([_$[:alpha:]][_$[:alnum:]]*)
\\
s*(
\\
?)?
\\
s*(:)"
,
"captures"
:
{
"1"
:
{
"name"
:
"entity.name.label.tsx"
},
"2"
:
{
"name"
:
"keyword.operator.optional.tsx"
},
"3"
:
{
"name"
:
"punctuation.separator.label.tsx"
}
}
},
{
"include"
:
"#type"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录