Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
be2b6bd1
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,发现更多精彩内容 >>
提交
be2b6bd1
编写于
6月 19, 2017
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
HTML Comments Not Colour Coded when there is a <?php> in the script tag. Fixes #28354
上级
94af79ff
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
1507 addition
and
491 deletion
+1507
-491
extensions/php/build/update-grammar.js
extensions/php/build/update-grammar.js
+24
-0
extensions/php/package.json
extensions/php/package.json
+1
-1
extensions/php/syntaxes/php.tmLanguage.json
extensions/php/syntaxes/php.tmLanguage.json
+706
-418
extensions/php/test/colorize-fixtures/issue-28354.php
extensions/php/test/colorize-fixtures/issue-28354.php
+9
-0
extensions/php/test/colorize-results/issue-28354_php.json
extensions/php/test/colorize-results/issue-28354_php.json
+541
-0
extensions/php/test/colorize-results/test_php.json
extensions/php/test/colorize-results/test_php.json
+226
-72
未找到文件。
extensions/php/build/update-grammar.js
0 → 100644
浏览文件 @
be2b6bd1
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'
use strict
'
;
var
updateGrammar
=
require
(
'
../../../build/npm/update-grammar
'
);
function
adaptInjectionScope
(
grammar
)
{
// we're using the HTML grammar from https://github.com/textmate/html.tmbundle which has moved away from source.js.embedded.html
let
oldInjectionKey
=
"
text.html.php - (meta.embedded | meta.tag), L:text.html.php meta.tag, L:source.js.embedded.html
"
;
let
newInjectionKey
=
"
text.html.php - (meta.embedded | meta.tag), L:text.html.php meta.tag, L:text.html.php source.js
"
;
var
injections
=
grammar
.
injections
;
var
injection
=
injections
[
oldInjectionKey
];
if
(
!
injections
)
{
throw
"
Can not find PHP injection
"
;
}
delete
injections
[
oldInjectionKey
];
injections
[
newInjectionKey
]
=
injection
;
}
updateGrammar
.
update
(
'
atom/language-php
'
,
'
grammars/php.cson
'
,
'
./syntaxes/php.tmLanguage.json
'
,
adaptInjectionScope
);
extensions/php/package.json
浏览文件 @
be2b6bd1
...
...
@@ -115,7 +115,7 @@
"scripts"
:
{
"compile"
:
"gulp compile-extension:php"
,
"watch"
:
"gulp watch-extension:php"
,
"update-grammar"
:
"node .
./../build/npm/update-grammar.js atom/language-php grammars/php.cson ./syntaxes/php.tmLanguage.json
"
"update-grammar"
:
"node .
/build/update-grammar.js
"
},
"devDependencies"
:
{
"@types/node"
:
"^7.0.4"
...
...
extensions/php/syntaxes/php.tmLanguage.json
浏览文件 @
be2b6bd1
此差异已折叠。
点击以展开。
extensions/php/test/colorize-fixtures/issue-28354.php
0 → 100644
浏览文件 @
be2b6bd1
<script>
...
<?php
foreach
(
$actID
AS
$act
)
{
echo
'divNames.push(\'[nid='
.
$act
.
']\');'
;
}
?>
...
</script>
\ No newline at end of file
extensions/php/test/colorize-results/issue-28354_php.json
0 → 100644
浏览文件 @
be2b6bd1
[
{
"c"
:
"<"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
"script"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
"dark_vs"
:
"entity.name.tag: #569CD6"
,
"light_vs"
:
"entity.name.tag: #800000"
,
"hc_black"
:
"entity.name.tag: #569CD6"
}
},
{
"c"
:
">"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.end.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"..."
,
"t"
:
"text.html.php meta.embedded.block.html source.js keyword.operator.spread.js"
,
"r"
:
{
"dark_plus"
:
"keyword.operator: #D4D4D4"
,
"light_plus"
:
"keyword.operator: #000000"
,
"dark_vs"
:
"keyword.operator: #D4D4D4"
,
"light_vs"
:
"keyword.operator: #000000"
,
"hc_black"
:
"keyword.operator: #D4D4D4"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js punctuation.whitespace.embedded.leading.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"<?php"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.begin.php"
,
"r"
:
{
"dark_plus"
:
"punctuation.section.embedded.begin.php: #569CD6"
,
"light_plus"
:
"punctuation.section.embedded.begin.php: #800000"
,
"dark_vs"
:
"punctuation.section.embedded.begin.php: #569CD6"
,
"light_vs"
:
"punctuation.section.embedded.begin.php: #800000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"foreach"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.control.php"
,
"r"
:
{
"dark_plus"
:
"keyword.control: #C586C0"
,
"light_plus"
:
"keyword.control: #AF00DB"
,
"dark_vs"
:
"keyword.control: #569CD6"
,
"light_vs"
:
"keyword.control: #0000FF"
,
"hc_black"
:
"keyword.control: #C586C0"
}
},
{
"c"
:
"("
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.begin.bracket.round.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"$"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
"actID"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"AS"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.logical.php"
,
"r"
:
{
"dark_plus"
:
"keyword.operator: #D4D4D4"
,
"light_plus"
:
"keyword.operator: #000000"
,
"dark_vs"
:
"keyword.operator: #D4D4D4"
,
"light_vs"
:
"keyword.operator: #000000"
,
"hc_black"
:
"keyword.operator: #D4D4D4"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"$"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
"act"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
")"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.end.bracket.round.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"{"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.section.scope.begin.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"echo"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php support.function.construct.output.php"
,
"r"
:
{
"dark_plus"
:
"support.function: #DCDCAA"
,
"light_plus"
:
"support.function: #795E26"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"support.function: #DCDCAA"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.begin.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"divNames.push("
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"
\\
'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php constant.character.escape.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"[nid="
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.end.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"."
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.string.php"
,
"r"
:
{
"dark_plus"
:
"keyword.operator: #D4D4D4"
,
"light_plus"
:
"keyword.operator: #000000"
,
"dark_vs"
:
"keyword.operator: #D4D4D4"
,
"light_vs"
:
"keyword.operator: #000000"
,
"hc_black"
:
"keyword.operator: #D4D4D4"
}
},
{
"c"
:
"$"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
"act"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php"
,
"r"
:
{
"dark_plus"
:
"variable: #9CDCFE"
,
"light_plus"
:
"variable: #001080"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"variable: #9CDCFE"
}
},
{
"c"
:
"."
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.string.php"
,
"r"
:
{
"dark_plus"
:
"keyword.operator: #D4D4D4"
,
"light_plus"
:
"keyword.operator: #000000"
,
"dark_vs"
:
"keyword.operator: #D4D4D4"
,
"light_vs"
:
"keyword.operator: #000000"
,
"hc_black"
:
"keyword.operator: #D4D4D4"
}
},
{
"c"
:
"'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.begin.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"]"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"
\\
'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php constant.character.escape.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
");"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
"'"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.end.php"
,
"r"
:
{
"dark_plus"
:
"string: #CE9178"
,
"light_plus"
:
"string: #A31515"
,
"dark_vs"
:
"string: #CE9178"
,
"light_vs"
:
"string: #A31515"
,
"hc_black"
:
"string: #CE9178"
}
},
{
"c"
:
";"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.terminator.expression.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"}"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.section.scope.end.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"?"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.end.php source.php"
,
"r"
:
{
"dark_plus"
:
"punctuation.section.embedded.end.php: #569CD6"
,
"light_plus"
:
"punctuation.section.embedded.end.php: #800000"
,
"dark_vs"
:
"punctuation.section.embedded.end.php: #569CD6"
,
"light_vs"
:
"punctuation.section.embedded.end.php: #800000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
">"
,
"t"
:
"text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.end.php"
,
"r"
:
{
"dark_plus"
:
"punctuation.section.embedded.end.php: #569CD6"
,
"light_plus"
:
"punctuation.section.embedded.end.php: #800000"
,
"dark_vs"
:
"punctuation.section.embedded.end.php: #569CD6"
,
"light_vs"
:
"punctuation.section.embedded.end.php: #800000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
" "
,
"t"
:
"text.html.php meta.embedded.block.html source.js"
,
"r"
:
{
"dark_plus"
:
"default: #D4D4D4"
,
"light_plus"
:
"default: #000000"
,
"dark_vs"
:
"default: #D4D4D4"
,
"light_vs"
:
"default: #000000"
,
"hc_black"
:
"default: #FFFFFF"
}
},
{
"c"
:
"..."
,
"t"
:
"text.html.php meta.embedded.block.html source.js keyword.operator.spread.js"
,
"r"
:
{
"dark_plus"
:
"keyword.operator: #D4D4D4"
,
"light_plus"
:
"keyword.operator: #000000"
,
"dark_vs"
:
"keyword.operator: #D4D4D4"
,
"light_vs"
:
"keyword.operator: #000000"
,
"hc_black"
:
"keyword.operator: #D4D4D4"
}
},
{
"c"
:
"<"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html source.js"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
"/"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.begin.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
},
{
"c"
:
"script"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html entity.name.tag.html"
,
"r"
:
{
"dark_plus"
:
"entity.name.tag: #569CD6"
,
"light_plus"
:
"entity.name.tag: #800000"
,
"dark_vs"
:
"entity.name.tag: #569CD6"
,
"light_vs"
:
"entity.name.tag: #800000"
,
"hc_black"
:
"entity.name.tag: #569CD6"
}
},
{
"c"
:
">"
,
"t"
:
"text.html.php meta.embedded.block.html meta.tag.metadata.script.html punctuation.definition.tag.end.html"
,
"r"
:
{
"dark_plus"
:
"punctuation.definition.tag: #808080"
,
"light_plus"
:
"punctuation.definition.tag: #800000"
,
"dark_vs"
:
"punctuation.definition.tag: #808080"
,
"light_vs"
:
"punctuation.definition.tag: #800000"
,
"hc_black"
:
"punctuation.definition.tag: #808080"
}
}
]
\ No newline at end of file
extensions/php/test/colorize-results/test_php.json
浏览文件 @
be2b6bd1
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录