15

if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.

On this image the links i am talking about are cyan on grey:

I found a solution for Windows/XP:

The hover uses the same colors as the on your system. On Windows you can change that via Display settings > Appearance > Advanced: ToolTip. The link color is the one used in your browser (IE on Windows).

However, i need a solution for Linux (XFCE 4.8.1/GTK)

I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:

style "default" {
        GtkWidget::link-color = "#ffffff"
}

class "GtkWidget" style "default" 

but this did not change the link color in Eclipse.

I hope you can help - thanks!

andi_s
  • 151
  • 1
  • 4

4 Answers4

5

GNOME

http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/

KDE

Use the colors menu (the first entry in the picture):

enter image description here

And redefine the tooltip background color:

enter image description here

Then enjoy the readable popups:

enter image description here

Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
3

Install gnome-color-chooser and customize the tooltip color as described here:

http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/

frankadelic
  • 20,543
  • 37
  • 111
  • 164
1

I'll chime in here, since I have the same issue.

There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).

The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.

On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.

On non-Windows, you are stuck with a dark-blue hardcoded color.

What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.

If you want to see it fixed, either upvode this bug or fix the code yourself:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444

Sad, I know ):

jwd
  • 10,837
  • 3
  • 43
  • 67
0

Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.

Community
  • 1
  • 1
mut1na
  • 795
  • 6
  • 21