Eclipse特有的颜色变化与新的Ubuntu主题 [英] Eclipse specific colour change with new Ubuntu themes

查看:188
本文介绍了Eclipse特有的颜色变化与新的Ubuntu主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了一种颜色以外,除了一个新的Ubuntu(10.10)黑色主题之外,所有的颜色都是一个问题。

我只想改变这个,而不是主题。



这是Eclipse在列表中使用的背景/颜色(资源管理器,开放资源),当选择项目是 pre (所选项目显示ok)。



目前的显示是浅灰色的白色,不容易阅读。



我可以在哪里更改?

解决方案

更新2012年7月(18个月后):



使用最新的Eclipse4.2 (2012年6月,Juno)发布,您将不再依赖于操作系统的颜色了。

请参阅(但这可能不完全是你的黑暗主题如何工作,你将需要调整〜/ .gnome * 文件


All but one colour is a problem in Eclipse with the new Ubuntu (10.10) dark themes.
I want to change only this one, not the theme.

This is the background/colour used by Eclipse in lists (Explorer, Open Resource) when an item is pre selected (a selected item displays ok).

The current display is white on light-grey, not easily readable.

Where can I change that?

解决方案

Update July 2012 (18 months later):

With the latest Eclipse4.2 (June 2012, "Juno") release, you won't depend on the OS colors anymore.
See the article by Lars Vogel in "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.


Original answer: December 2010

It is a system color (a background color based on the underlying OS system color properties), so you will have to change a property in the theme, not a setting in Eclipse.

For instance, see "How to change the color of menu text?" (but this may not be exactly how your dark theme works and you will need to tweak the ~/.gnome* files)

这篇关于Eclipse特有的颜色变化与新的Ubuntu主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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