用于Web开发人员的Eclipse Java EE IDE工具提示颜色 [英] Eclipse Java EE IDE for Web Developers tooltip color
问题描述
我正在使用Eclipse Java EE IDE for Web Developers 4.5.0版(Mars)。
但是工具提示背景是黑色的。我怎么能改变它?
我使用xubuntu 14.04
I am using Eclipse Java EE IDE for Web Developers version 4.5.0 (Mars). But the tooltip background is black. How can I change it?? I am using xubuntu 14.04
P.S。
使用gnome颜色选择器,系统级别的工具提示背景为白色。
我将(一般 - >外观 - >颜色和字体)的Java文档视图背景设置为白色
而且(Java - >编辑器)的外观颜色选项都没有黑色!
这是新版eclipse中的错误吗?
P.S. The tooltip background at the system level is white, using gnome color chooser. And I set The Java doc view background at (general -> appearance -> colors and fonts) to white And also none of the Appearance color options at (Java -> editor) are black! Is it a bug in the new version of eclipse??
推荐答案
同样的问题。
我认为这是因为Eclipse 4.5默认使用GTK3(不会使用gtkrc-2.0设置)。
I assume this is because Eclipse 4.5 uses GTK3 by default (gtkrc-2.0 settings will not be used).
所以你可以:
- 编辑/ usr / share /中的工具提示颜色主题/ Ambiance / gtk-3.0 / setting.ini + gtk-main.css
- 或强迫Eclipse使用GTK2
- edit tooltip colors in /usr/share/themes/Ambiance/gtk-3.0/setting.ini + gtk-main.css
- or force Eclipse to use GTK2
我更喜欢第二种选择。
添加
export SWT_GTK3=0
在/ etc / profile中重启系统
in /etc/profile and restart the system
这篇关于用于Web开发人员的Eclipse Java EE IDE工具提示颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!