This is what a function tooltip looks like for Eclipse CDT in Ubuntu 10.04 with the default theme:
!
There's nothing in Eclipse's General > Appearance > Colors And Fonts preferences settings. Is there an easy fix for these unreadable context sensitive help boxes?
Go to Window -> Preferences -> C/C++ -> Editor Under "Appereance color options" edit your "Source hover background"
This can be solve by changing the background colour in Ubuntu. I’ve tried changing the background colour in Eclipse but it doesn’t seems to works. To change the background colour in Ubuntu, go to
System > Preferences > Appearance
“Appearance Preferences” panel shows up, click on “Customize…”.
“Customize Theme” shows up, go to “Colors” and select a lighter color for “Tooltips” Background, a darker color for “Tooltips” Text.
Start or restart Eclipse, you will see the the lighter colors you selected when the code-assist appears.
This solution is copied from: http://tipstank.com/2010/05/23/solve-eclipse-black-pop-up-code-assist-box-in-ubuntu-10-4-lucid/
For CDT do the following:
Unfortunately there doesn't seem to be an application-wide setting. Kind of ridiculous.
I've solved using this tip: http://wiki.eclipse.org/IRC_FAQ#Black_background_color_for_tooltips_on_Linux.2FUbuntu.2FGTK
But I also changed the
selected_fg_color
to black. So I did change as follows:So just
and insert in place of the first line:
My solution: Set the tooltip background to a gray variety. Works for both white and black text!
An easy workaround to fix this is to install
gnome-color-chooser
. Open it, go toSpecific
->Tooltips
and put black foreground over pale yellow background.i think, the tool you want to install is Gnome Color Chooser
i have the screenshot here:
type this to install Gnome Color Chooser:
open it, and go to Spesific -> Tooltip - Background
choose your desired color, and apply it.
does not need to restart your eclipse, the tooltip background color is immediately changing.
Eclipse seems to take the tooltip backgroud color from the system theme.
I wasn't able to change the tooltip color without changing the system theme. I'm using the tropical theme with ambiance window decorations, currently, and it's working great! Give it a try!
Try to customize the used Ubuntu theme System > Preferences > Appearance > Customize In the tab Colors change the background and text colors of Tooltips
I had the same problem with Zend Studio, it seems that the only fix at the moment is to adjust the tooltip colors in the appearance settings for ubuntu.