在使用新的 Ubuntu (10.10) 深色主题的 Eclipse 中,除了一种颜色之外的所有颜色都会出现问题。
我只想更改此一项,而不是主题。
这是当预先选择某个项目(选定的项目显示正常)时 Eclipse 在列表(资源管理器、开放资源)中使用的背景/颜色。
当前显示屏为浅灰色白色,不易读取。
我可以在哪里更改它?
最佳答案
2012 年 7 月更新(18 个月后):
使用最新的 Eclipse4.2(2012 年 6 月,“Juno”)版本,您将不再依赖操作系统颜色。
参见 Lars Vogel 的文章在“Eclipse 4 is beautiful – Create your own Eclipse 4 theme”中:
If you want to play with it, you only need to write a plug-in, create a CSS file and use the
org.eclipse.e4.ui.css.swt.theme
extension point to point to your file.
If you export your plug-in, place it in the “dropins” folder of your Eclipse installation and your styling is available.
原始答案:2010 年 12 月
它是一种系统颜色(基于底层操作系统系统颜色属性的背景颜色),因此您必须更改主题中的属性,而不是 Eclipse 中的设置。
例如,请参阅“How to change the color of menu text? ”(但这可能不完全是您的深色主题的工作方式和您的 will need to tweak the ~/.gnome*
files )
关于Eclipse 特定颜色随新 Ubuntu 主题而变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4342356/