Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
徽霖
Vscode
提交
4e430f70
V
Vscode
项目概览
徽霖
/
Vscode
通知
9
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,发现更多精彩内容 >>
提交
4e430f70
编写于
9月 08, 2017
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[make] update grammar
上级
337cdb7c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
37 addition
and
30 deletion
+37
-30
extensions/make/syntaxes/Makefile.json
extensions/make/syntaxes/Makefile.json
+36
-18
extensions/make/test/colorize-results/makefile.json
extensions/make/test/colorize-results/makefile.json
+1
-12
未找到文件。
extensions/make/syntaxes/Makefile.json
浏览文件 @
4e430f70
...
...
@@ -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/fadeevab/make.tmbundle/commit/
3c1e978bb465ffbf53a36639a69bae99ed047f08
"
,
"version"
:
"https://github.com/fadeevab/make.tmbundle/commit/
43e1a67476dea3ddefbb4f0ee7901834b31b8bee
"
,
"fileTypes"
:
[
"Makefile"
,
"makefile"
,
...
...
@@ -102,7 +102,7 @@
]
},
{
"begin"
:
"^(?:(override)
\\
s*)?(define)
\\
s*([^
\\
s]+)
\\
s*(=|
\\
?=|:=|
\\
+=)?(?=
\\
s)"
,
"begin"
:
"^
\\
s*
(?:(override)
\\
s*)?(define)
\\
s*([^
\\
s]+)
\\
s*(=|
\\
?=|:=|
\\
+=)?(?=
\\
s)"
,
"captures"
:
{
"1"
:
{
"name"
:
"keyword.control.override.makefile"
...
...
@@ -117,7 +117,7 @@
"name"
:
"punctuation.separator.key-value.makefile"
}
},
"end"
:
"^(endef)
\\
b"
,
"end"
:
"^
\\
s*
(endef)
\\
b"
,
"name"
:
"meta.scope.conditional.makefile"
,
"patterns"
:
[
{
...
...
@@ -194,7 +194,7 @@
]
},
{
"begin"
:
"^(ifdef|ifndef)
\\
s*([^
\\
s]+)(?=
\\
s)"
,
"begin"
:
"^
\\
s*
(ifdef|ifndef)
\\
s*([^
\\
s]+)(?=
\\
s)"
,
"captures"
:
{
"1"
:
{
"name"
:
"keyword.control.$1.makefile"
...
...
@@ -206,7 +206,7 @@
"name"
:
"punctuation.separator.key-value.makefile"
}
},
"end"
:
"^(endif)
\\
b"
,
"end"
:
"^
\\
s*
(endif)
\\
b"
,
"name"
:
"meta.scope.conditional.makefile"
,
"patterns"
:
[
{
...
...
@@ -224,13 +224,13 @@
]
},
{
"begin"
:
"^(ifeq|ifneq)(?=
\\
s)"
,
"begin"
:
"^
\\
s*
(ifeq|ifneq)(?=
\\
s)"
,
"captures"
:
{
"1"
:
{
"name"
:
"keyword.control.$1.makefile"
}
},
"end"
:
"^(endif)
\\
b"
,
"end"
:
"^
\\
s*
(endif)
\\
b"
,
"name"
:
"meta.scope.conditional.makefile"
,
"patterns"
:
[
{
...
...
@@ -247,7 +247,7 @@
]
},
{
"begin"
:
"^else(?=
\\
s)"
,
"begin"
:
"^
\\
s*
else(?=
\\
s)"
,
"beginCaptures"
:
{
"0"
:
{
"name"
:
"keyword.control.else.makefile"
...
...
@@ -293,6 +293,18 @@
}
]
},
"braces-interpolation"
:
{
"begin"
:
"
\\
("
,
"end"
:
"
\\
)"
,
"patterns"
:
[
{
"include"
:
"#variables"
},
{
"include"
:
"#braces-interpolation"
}
]
},
"recipe"
:
{
"begin"
:
"^(?!
\\
t)([^:]*)(:)(?!
\\
=)"
,
"beginCaptures"
:
{
...
...
@@ -408,22 +420,17 @@
"variables"
:
{
"patterns"
:
[
{
"captures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.variable.makefile"
}
},
"match"
:
"(
\\
$?
\\
$)[@%<?^+*]"
,
"match"
:
"
\\
$[^
\\
(
\\
)]"
,
"name"
:
"variable.language.makefile"
},
{
"begin"
:
"
\\
$?
\\
$
\\
("
,
"begin"
:
"
(
\\
$|(?<=
\\
$))
\\
("
,
"captures"
:
{
"0"
:
{
"name"
:
"punctuation.definition.variable.makefile"
}
},
"end"
:
"
\\
)"
,
"end"
:
"
\\
)
|((?<!
\\\\
)
\\
n)
"
,
"name"
:
"string.interpolated.makefile"
,
"patterns"
:
[
{
...
...
@@ -440,15 +447,22 @@
"name"
:
"support.function.$1.makefile"
}
},
"end"
:
"(?=
\\
))"
,
"end"
:
"(?=
\\
)
|((?<!
\\\\
)
\\
n)
)"
,
"name"
:
"meta.scope.function-call.makefile"
,
"patterns"
:
[
{
"include"
:
"#variables"
},
{
"include"
:
"#braces-interpolation"
},
{
"match"
:
"%|
\\
*"
,
"name"
:
"constant.other.placeholder.makefile"
},
{
"match"
:
"
\\\\\\
n"
,
"name"
:
"constant.character.escape.continuation.makefile"
}
]
},
...
...
@@ -470,11 +484,15 @@
},
{
"begin"
:
"(?<=
\\
()(?!
\\
))"
,
"end"
:
"(?=
\\
))"
,
"end"
:
"(?=
\\
)
|((?<!
\\\\
)
\\
n)
)"
,
"name"
:
"variable.other.makefile"
,
"patterns"
:
[
{
"include"
:
"#variables"
},
{
"match"
:
"
\\\\\\
n"
,
"name"
:
"constant.character.escape.continuation.makefile"
}
]
}
...
...
extensions/make/test/colorize-results/makefile.json
浏览文件 @
4e430f70
...
...
@@ -616,18 +616,7 @@
}
},
{
"c"
:
"$"
,
"t"
:
"source.makefile variable.language.makefile punctuation.definition.variable.makefile"
,
"r"
:
{
"dark_plus"
:
"variable.language: #569CD6"
,
"light_plus"
:
"variable.language: #0000FF"
,
"dark_vs"
:
"variable.language: #569CD6"
,
"light_vs"
:
"variable.language: #0000FF"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
"@"
,
"c"
:
"$@"
,
"t"
:
"source.makefile variable.language.makefile"
,
"r"
:
{
"dark_plus"
:
"variable.language: #569CD6"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录