Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
6132cb3b
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,发现更多精彩内容 >>
提交
6132cb3b
编写于
4月 21, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixes #5579: [java] Colorization could be improved for import text
上级
de4c7a2e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
203 addition
and
25 deletion
+203
-25
extensions/java/test/colorize-fixtures/basic.java
extensions/java/test/colorize-fixtures/basic.java
+3
-0
extensions/java/test/colorize-results/basic_java.json
extensions/java/test/colorize-results/basic_java.json
+179
-25
extensions/theme-defaults/themes/dark_vs.json
extensions/theme-defaults/themes/dark_vs.json
+7
-0
extensions/theme-defaults/themes/hc_black.json
extensions/theme-defaults/themes/hc_black.json
+7
-0
extensions/theme-defaults/themes/light_vs.json
extensions/theme-defaults/themes/light_vs.json
+7
-0
未找到文件。
extensions/java/test/colorize-fixtures/basic.java
浏览文件 @
6132cb3b
package
foo
;
import
org.junit.Test
;
import
org.junit.runners.*
;
/*
* Multi line comment
...
...
extensions/java/test/colorize-results/basic_java.json
浏览文件 @
6132cb3b
[
{
"c"
:
"package"
,
"t"
:
"java.keyword.meta.other.package"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
}
},
{
"c"
:
" "
,
"t"
:
"java.meta.package"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"foo"
,
"t"
:
"java.meta.modifier.package.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.package.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.package.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.package.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.package.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.package.java rgb(212, 212, 212)"
}
},
{
"c"
:
";"
,
"t"
:
"java.meta.package.punctuation.terminator"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"import"
,
"t"
:
"import.java.keyword.meta.other"
,
...
...
@@ -25,55 +69,165 @@
"c"
:
"org"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
rgb(86, 156, 214
)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
}
},
{
"c"
:
"."
,
"t"
:
"import.java.meta.modifier.punctuation.separator.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
rgb(86, 156, 214
)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
}
},
{
"c"
:
"junit"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
rgb(86, 156, 214
)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
}
},
{
"c"
:
"."
,
"t"
:
"import.java.meta.modifier.punctuation.separator.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
rgb(86, 156, 214
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
rgb(0, 0, 255
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
rgb(86, 156, 214
)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier
.import.java rgb(0, 0, 0
)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier
.import.java rgb(212, 212, 212
)"
}
},
{
"c"
:
"Test"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier rgb(86, 156, 214)"
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
";"
,
"t"
:
"import.java.meta.punctuation.terminator"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"import"
,
"t"
:
"import.java.keyword.meta.other"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
}
},
{
"c"
:
" "
,
"t"
:
"import.java.meta"
,
"r"
:
{
"dark_plus"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_plus"
:
".vs .token rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark .token rgb(212, 212, 212)"
,
"light_vs"
:
".vs .token rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black .token rgb(255, 255, 255)"
}
},
{
"c"
:
"org"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"."
,
"t"
:
"import.java.meta.modifier.punctuation.separator.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"junit"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"."
,
"t"
:
"import.java.meta.modifier.punctuation.separator.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"runners"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"."
,
"t"
:
"import.java.meta.modifier.punctuation.separator.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
"c"
:
"*"
,
"t"
:
"import.java.meta.modifier.storage"
,
"r"
:
{
"dark_plus"
:
".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_plus"
:
".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"dark_vs"
:
".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier.import.java rgb(212, 212, 212)"
,
"light_vs"
:
".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier.import.java rgb(0, 0, 0)"
,
"hc_black"
:
".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier.import.java rgb(212, 212, 212)"
}
},
{
...
...
extensions/theme-defaults/themes/dark_vs.json
浏览文件 @
6132cb3b
...
...
@@ -278,6 +278,13 @@
"settings"
:
{
"foreground"
:
"#b5cea8"
}
},
{
"name"
:
"coloring of the Java import and package identifiers"
,
"scope"
:
[
"storage.modifier.import.java"
,
"storage.modifier.package.java"
],
"settings"
:
{
"foreground"
:
"#d4d4d4"
}
}
]
}
\ No newline at end of file
extensions/theme-defaults/themes/hc_black.json
浏览文件 @
6132cb3b
...
...
@@ -253,6 +253,13 @@
"settings"
:
{
"foreground"
:
"#b5cea8"
}
},
{
"name"
:
"coloring of the Java import and package identifiers"
,
"scope"
:
[
"storage.modifier.import.java"
,
"storage.modifier.package.java"
],
"settings"
:
{
"foreground"
:
"#d4d4d4"
}
}
]
}
\ No newline at end of file
extensions/theme-defaults/themes/light_vs.json
浏览文件 @
6132cb3b
...
...
@@ -267,6 +267,13 @@
"settings"
:
{
"foreground"
:
"#09885a"
}
},
{
"name"
:
"coloring of the Java import and package identifiers"
,
"scope"
:
[
"storage.modifier.import.java"
,
"storage.modifier.package.java"
],
"settings"
:
{
"foreground"
:
"#000000"
}
}
]
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录