Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
a2966fb2
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,发现更多精彩内容 >>
提交
a2966fb2
编写于
4月 18, 2017
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Request to update atom/language-c version to the latest. Fixes #24909
上级
9d1fc803
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
33 addition
and
6 deletion
+33
-6
extensions/cpp/syntaxes/c++.json
extensions/cpp/syntaxes/c++.json
+6
-2
extensions/cpp/syntaxes/c.json
extensions/cpp/syntaxes/c.json
+4
-3
extensions/cpp/test/colorize-results/test_cc.json
extensions/cpp/test/colorize-results/test_cc.json
+23
-1
未找到文件。
extensions/cpp/syntaxes/c++.json
浏览文件 @
a2966fb2
...
...
@@ -54,7 +54,7 @@
},
{
"match"
:
"
\\
bnullptr
\\
b"
,
"name"
:
"
variable
.language.cpp"
"name"
:
"
constant
.language.cpp"
},
{
"match"
:
"
\\
btemplate
\\
b
\\
s*"
,
...
...
@@ -64,6 +64,10 @@
"match"
:
"
\\
b(const_cast|dynamic_cast|reinterpret_cast|static_cast)
\\
b
\\
s*"
,
"name"
:
"keyword.operator.cast.cpp"
},
{
"match"
:
"::"
,
"name"
:
"punctuation.separator.namespace.access.cpp"
},
{
"match"
:
"
\\
b(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)
\\
b"
,
"name"
:
"keyword.operator.cpp"
...
...
@@ -451,5 +455,5 @@
]
}
},
"version"
:
"https://github.com/atom/language-c/commit/
314f4ee53ede0adc91f56ef91b13d43e66771cd
7"
"version"
:
"https://github.com/atom/language-c/commit/
a74c2f967d73e802a67fa6e971a8e8dedf07659
7"
}
\ No newline at end of file
extensions/cpp/syntaxes/c.json
浏览文件 @
a2966fb2
...
...
@@ -513,7 +513,7 @@
"numbers"
:
{
"patterns"
:
[
{
"match"
:
"
\\
b((0(x|X)[0-9a-fA-F
']*)|(0(b|B)[01']*)|(([0-9']+
\\
.?[0-9']*)|(
\\
.[0-9']+))((e|E)(
\\
+|-)?[0-9']+
)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?
\\
b"
,
"match"
:
"
\\
b((0(x|X)[0-9a-fA-F
]([0-9a-fA-F']*[0-9a-fA-F])?)|(0(b|B)[01]([01']*[01])?)|(([0-9]([0-9']*[0-9])?
\\
.?[0-9]*([0-9']*[0-9])?)|(
\\
.[0-9]([0-9']*[0-9])?))((e|E)(
\\
+|-)?[0-9]([0-9']*[0-9])?
)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?
\\
b"
,
"name"
:
"constant.numeric.c"
}
]
...
...
@@ -628,6 +628,7 @@
}
},
"end"
:
":"
,
"applyEndPatternLast"
:
true
,
"endCaptures"
:
{
"0"
:
{
"name"
:
"keyword.operator.ternary.c"
...
...
@@ -644,7 +645,7 @@
"include"
:
"#c_function_call"
},
{
"include"
:
"$
self
"
"include"
:
"$
base
"
}
]
}
...
...
@@ -1950,5 +1951,5 @@
]
}
},
"version"
:
"https://github.com/atom/language-c/commit/
676056d40356884d161ea3170257121874092ac
e"
"version"
:
"https://github.com/atom/language-c/commit/
1d137279178d06e7f7500800ebc36155e130172
e"
}
\ No newline at end of file
extensions/cpp/test/colorize-results/test_cc.json
浏览文件 @
a2966fb2
...
...
@@ -1122,7 +1122,29 @@
}
},
{
"c"
:
" std::unique_ptr"
,
"c"
:
" std"
,
"t"
:
"source.cpp meta.block.c"
,
"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.block.c punctuation.separator.namespace.access.cpp"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"unique_ptr"
,
"t"
:
"source.cpp meta.block.c"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录