Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
bc6b817c
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bc6b817c
编写于
12月 05, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[docker] add update grammar script
上级
c1d967af
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
94 addition
and
144 deletion
+94
-144
extensions/docker/package.json
extensions/docker/package.json
+4
-1
extensions/docker/syntaxes/Dockerfile.tmLanguage
extensions/docker/syntaxes/Dockerfile.tmLanguage
+0
-143
extensions/docker/syntaxes/docker.tmLanguage.json
extensions/docker/syntaxes/docker.tmLanguage.json
+90
-0
未找到文件。
extensions/docker/package.json
浏览文件 @
bc6b817c
...
...
@@ -3,6 +3,9 @@
"version"
:
"0.1.0"
,
"publisher"
:
"vscode"
,
"engines"
:
{
"vscode"
:
"*"
},
"scripts"
:
{
"update-grammar"
:
"node ../../build/npm/update-grammar.js docker/docker contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage ./syntaxes/docker.tmLanguage.json"
},
"contributes"
:
{
"languages"
:
[{
"id"
:
"dockerfile"
,
...
...
@@ -14,7 +17,7 @@
"grammars"
:
[{
"language"
:
"dockerfile"
,
"scopeName"
:
"source.dockerfile"
,
"path"
:
"./syntaxes/
Dockerfile.tmLanguage
"
"path"
:
"./syntaxes/
docker.tmLanguage.json
"
}]
}
}
\ No newline at end of file
extensions/docker/syntaxes/Dockerfile.tmLanguage
已删除
100644 → 0
浏览文件 @
c1d967af
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
fileTypes
</key>
<array>
<string>
Dockerfile
</string>
</array>
<key>
name
</key>
<string>
Dockerfile
</string>
<key>
patterns
</key>
<array>
<dict>
<key>
captures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
keyword.control.dockerfile
</string>
</dict>
<key>
2
</key>
<dict>
<key>
name
</key>
<string>
keyword.other.special-method.dockerfile
</string>
</dict>
</dict>
<key>
match
</key>
<string>
^\s*(?:(ONBUILD)\s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\s
</string>
</dict>
<dict>
<key>
captures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
keyword.operator.dockerfile
</string>
</dict>
<key>
2
</key>
<dict>
<key>
name
</key>
<string>
keyword.other.special-method.dockerfile
</string>
</dict>
</dict>
<key>
match
</key>
<string>
^\s*(?:(ONBUILD)\s+)?(CMD|ENTRYPOINT)\s
</string>
</dict>
<dict>
<key>
begin
</key>
<string>
"
</string>
<key>
beginCaptures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
punctuation.definition.string.begin.dockerfile
</string>
</dict>
</dict>
<key>
end
</key>
<string>
"
</string>
<key>
endCaptures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
punctuation.definition.string.end.dockerfile
</string>
</dict>
</dict>
<key>
name
</key>
<string>
string.quoted.double.dockerfile
</string>
<key>
patterns
</key>
<array>
<dict>
<key>
match
</key>
<string>
\\.
</string>
<key>
name
</key>
<string>
constant.character.escaped.dockerfile
</string>
</dict>
</array>
</dict>
<dict>
<key>
begin
</key>
<string>
'
</string>
<key>
beginCaptures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
punctuation.definition.string.begin.dockerfile
</string>
</dict>
</dict>
<key>
end
</key>
<string>
'
</string>
<key>
endCaptures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
punctuation.definition.string.end.dockerfile
</string>
</dict>
</dict>
<key>
name
</key>
<string>
string.quoted.single.dockerfile
</string>
<key>
patterns
</key>
<array>
<dict>
<key>
match
</key>
<string>
\\.
</string>
<key>
name
</key>
<string>
constant.character.escaped.dockerfile
</string>
</dict>
</array>
</dict>
<dict>
<key>
captures
</key>
<dict>
<key>
1
</key>
<dict>
<key>
name
</key>
<string>
punctuation.whitespace.comment.leading.dockerfile
</string>
</dict>
<key>
2
</key>
<dict>
<key>
name
</key>
<string>
comment.line.number-sign.dockerfile
</string>
</dict>
<key>
3
</key>
<dict>
<key>
name
</key>
<string>
punctuation.definition.comment.dockerfile
</string>
</dict>
</dict>
<key>
comment
</key>
<string>
comment.line
</string>
<key>
match
</key>
<string>
^(\s*)((#).*$\n?)
</string>
</dict>
</array>
<key>
scopeName
</key>
<string>
source.dockerfile
</string>
<key>
uuid
</key>
<string>
a39d8795-59d2-49af-aa00-fe74ee29576e
</string>
</dict>
</plist>
extensions/docker/syntaxes/docker.tmLanguage.json
0 → 100644
浏览文件 @
bc6b817c
{
"fileTypes"
:
[
"Dockerfile"
],
"name"
:
"Dockerfile"
,
"patterns"
:
[
{
"captures"
:
{
"1"
:
{
"name"
:
"keyword.control.dockerfile"
},
"2"
:
{
"name"
:
"keyword.other.special-method.dockerfile"
}
},
"match"
:
"^
\\
s*(?:(ONBUILD)
\\
s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)
\\
s"
},
{
"captures"
:
{
"1"
:
{
"name"
:
"keyword.operator.dockerfile"
},
"2"
:
{
"name"
:
"keyword.other.special-method.dockerfile"
}
},
"match"
:
"^
\\
s*(?:(ONBUILD)
\\
s+)?(CMD|ENTRYPOINT)
\\
s"
},
{
"begin"
:
"
\"
"
,
"beginCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.begin.dockerfile"
}
},
"end"
:
"
\"
"
,
"endCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.end.dockerfile"
}
},
"name"
:
"string.quoted.double.dockerfile"
,
"patterns"
:
[
{
"match"
:
"
\\\\
."
,
"name"
:
"constant.character.escaped.dockerfile"
}
]
},
{
"begin"
:
"'"
,
"beginCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.begin.dockerfile"
}
},
"end"
:
"'"
,
"endCaptures"
:
{
"1"
:
{
"name"
:
"punctuation.definition.string.end.dockerfile"
}
},
"name"
:
"string.quoted.single.dockerfile"
,
"patterns"
:
[
{
"match"
:
"
\\\\
."
,
"name"
:
"constant.character.escaped.dockerfile"
}
]
},
{
"captures"
:
{
"1"
:
{
"name"
:
"punctuation.whitespace.comment.leading.dockerfile"
},
"2"
:
{
"name"
:
"comment.line.number-sign.dockerfile"
},
"3"
:
{
"name"
:
"punctuation.definition.comment.dockerfile"
}
},
"comment"
:
"comment.line"
,
"match"
:
"^(
\\
s*)((#).*$
\\
n?)"
}
],
"scopeName"
:
"source.dockerfile"
,
"uuid"
:
"a39d8795-59d2-49af-aa00-fe74ee29576e"
,
"version"
:
"https://github.com/docker/docker/commit/4cb71f80823af345d063cf0ad657e73ce9caa75f"
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录