Eclipse 2019黑色背景 [英] Eclipse 2019 black background

查看:302
本文介绍了Eclipse 2019黑色背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装了2019-12版本的Eclipse之后,我无法使用深色主题和默认颜色设置来设置黑色背景。
如果我在常规->编辑器->文本编辑器->外观颜色->背景颜色->背景颜色中更改颜色,则我看到行号的背景颜色已更改为我的选择,而文本区域则保持相同的深灰色,无论我选择的颜色。

After install of 2019-12 version of Eclipse I can't set black background while using Dark theme and Default set of colors. If I change color in General -> Editors -> Text Editors -> Appearance color options -> Background color - I see line numbers background color get changed to my choice, while text area remain in same dark grey, regardless of the color I choose.

我尝试手动编辑epf首选项并将其重新导入,但是即使这样也行不通。
Eclipse 2019-12中是否有一些更改/错误会覆盖用户选择的内容?
关于Eclipse颜色,已经有一些已经回答的问题,但是我认为它们在最近的更改后没有帮助。

I tried to manually edit epf preferences and import them back, but even this way doesn't work. Is there a some change/bug in Eclipse 2019-12 which override the user chose? There are some already answered questions about Eclipse colors, but I believe they are not helpful after recent changes.

推荐答案

对于那些通过谷歌搜索来到这里的人,可以在一处更改Java编辑器,Package Explorer和Outline视图背景的颜色,请参阅文件

For those who come here by googling, you can change the color of Java editor, Package Explorer and Outline views background in one place, see file

<..>.p2\pool\plugins\org.eclipse.ui.themes_<version>\css\dark\e4-dark_partstyle.css 

,然后编辑背景色

.MPart DependenciesComposite > SashForm > Section > * { /* Section > DependenciesComposite$... */
    background-color: #151515;
    color: #AAAAAA;
}

我发现#151515 比默认值要好。

这篇关于Eclipse 2019黑色背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆