Reputation: 2889
I have the same problem as that described in this post
I am using Eclipse 3.5.2 with CDT and have not installed this Color Theme Plugin. When I am editing C/C++ source files and placing the cursor over a defined method, the generated tooltip window shows a "black" background color so that I could not clearly see the text inside the tooltip window. I have tried to change settings in "C/C++/Editor/Syntax Coloring" preference but I have not found setting of background color for tooltip window.
The above post suggested that I may have to re-install the whole eclipse but this solution seems would cause many troubles to me. Does anyone know an easier solution for this apparently small problem.
Thanks for any suggestion.
Upvotes: 1
Views: 4565
Reputation: 10822
Change this color in the Eclipse preferences (Window/Prefernces menu). Good color is rgb=255,255,225 (this is default for Java), or choose your own.
Credits to assifm.
Upvotes: 7
Reputation: 91
The default UI prefs in CDT seems to be missing the "sourceHoverBackgroundColor" setting.
To fix this add a line like the following:
sourceHoverBackgroundColor=255,255,255
to the file
[workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
(be sure to back-up the file before you make changes to it!)
you'll need to get eclipse to re-read that file by restarting eclipse.
Upvotes: 9
Reputation: 70098
Full re-installation of eclipse may not be needed. However, it's worth cleaning up the workspace / project related settings. You can follow below steps:
.metadata
.cproject
and .project
.epf
(here is
mine).epf
file inside your workspace directory; so that you
know that this color theme is for this workspace; though you can
store this anywhere.epf
file and install.You can also think of installing the full screen plugin for eclipse, for better visibility.
Upvotes: 0