The problem
Under Ubuntu the Eclipse tooltip (the one that shows up when you hover over a function or variables) has an anoying black background color. This is due to the fact that Eclipse takes the default background color from the system colors and in Ubuntu the tooltips are white on black.
The solution
As pointed out here there are 2 possible solutions:
- Tweaking Ubuntu. This isn’t as easy as you’d think! A good explantion can be found here.
- Fixing the color in Eclipse. This is the method I prefer:
- Open the
window > preferencesdialog. - Goto
C/C++ > EditororJava > Editorsettings. - In the listbox titled
Appearance color options- Select
Source hover background - Unselect
System default - Choose the color you like, e.g.
#f5f5c5
- Select
- Close the dialog.
- Open the