How to change the way eclipse showing suggestion? - eclipse

As you can see in the picture, I don't want the blue color suggestions. How do I change that?
Also I don't want that black color background.

You can use this guide to change the tooltip colours just for Eclipse, rather than changing them for the whole desktop environment.

Ach. Unfortunately that's pretty difficult. The background color of that pop-up is set by the operating system. It looks like you're running on Ubuntu with a darker theme. You have two choices:
Choose a different theme.
Live with the semi-illegible colors. If you click on the error marker on the left, it'll show up with a more tollerable black-on-white window.

Select "Change Desktop Background"
Select "Theme" from the tabs.
Click
"Customize"
Select "Colors" from the
tabs.
Change the "Background" of the
"Tooltips" as you like .
The change
will be visible at eclipse.
(On basis
of Ubuntu 10.10)

eclipse Preferences
-> General
-> Appereance
-> "Colors and Fonts"
-> Java
-> "Javadoc background"

go to sourcehover foreground and change the color
to windows
Click on Editor tab
you will see source hover background, parameter hint foreground change the color

Related

Eclipse - black background in javadoc popup

I am using Elementary OS, based on Ubuntu 12.04 and Eclipse Luna.
The background color of javadoc popups is black and font color is dark grey, so it is unreadable.
I tried to change background in eclipse preferences, but it did not change.
Then I used google, and found solution, that I need to change tooltip bg color. So I did it. But still no change.
Anyone knows how to change that color ?
I had the same problem with Ubuntu 16.04 and Eclipse Mars. I solved the problem by adding the following lines in eclipse.ini :
--launcher.GTK_version
2
As a KDE user, you have to change the tooltip background color with System Settings. Navigate to
Application Apperearence -> Colors (Left side menu) -> Colors (Colors tab on right side)
and adjust the Tooltip Background and Tooltip Text colors. In your case, adjusting the tooltip background should be enough.
The setting is under GNOME UBUNTU in Settings.
I would get a blank assist popup window and if I clicked on the window it would turn black and not show any text.
I tried many things to get the text to show up like changing the eclipse foreground and back ground colors or the above system settings.
I then started to look at the VcXsrv X server program I was running to display on my windows box.
I turned off the 'Native opengl' in the 'Extra Settings' screen of the XLaunch program.
This fixed my problem.

Change 'fixes' background color in eclipse

I've been trying to change the background color for the 'quick-fixes' pop-up (the pop up that lists ways to fix an error) in eclipse juno. Currently the color is black and the text is blue which makes it very hard to read.
I cant find the correct way to change the color. Please help. Its really annoying to squint and have to read blue text on a black background.
This was driving me nuts as well, here is the fix.
Go to preferences.
Search for "Annotations"
for each Annotation Type:
if "Text as" == "Highlighted" and Color == black:
Set the color to light or uncheck "Text As"
In this screen shot, I am fixing Occurrences.
The problem I show to the left is the "Matching Tags" annotation which had the same problem.
You can change the color of the text in the pop-up.
In windows you can go Control Panel, search for colors and metrics and then select Change window colors and metrics. In the item menu select Hyperlinks and change the Color.
EDIT: This fix is valid for Windows 7. Windows 10 does not have the option to change Hyperlinks color.
Right Click anywhere in the Editor Window, and at the bottom of the context menu select Preferences. This will bring you into Java -> Editor. At the bottom ofthat window select the element colors you wish to change, in your case Parameter hints background and Parameter hints background or Completion overview background and Completion overview foreground, depending on which one it is you are having a problem with.
From what I found, I do not think you can change the color. I am not willing to go to Eclipse source code and find it but here's what fixed it for me. Not perfectly but to a level I can use the quick fix. In my case, the background and foreground was same. (Luna, Dark Theme, Using Solarized Editor Theme).
Go into the Preferences (Window -> Preferences)
Choose General -> Appearance from the left menu
Uncheck the checkbox Use mixed fonts and colours for labels
The detail is in this post. How to change the highlight color in autocomplete box in Eclipse

Change variable hover window background while debugging on Eclipse

I've been changing thousands of different preferences on Eclipse and I still cannot change hover window background while debugging on Eclipse.
Here is a photo of the black background I want to change the color to: http://img208.imageshack.us/img208/7126/blackbackgrounds.png
Thanks in advance.
In Fedora 18 using KDE as desktop you have by default a oxygen-gtk for GTK applications.
You can also change the setting of this color under the following file:
/usr/share/themes/oxygen-gtk/gtk-2.0/kdeglobals
[Colors:Tooltip]
BackgroundNormal=
Hope this helps
Windows->Preferences.
Java->Editor->Appearance color options->Source hover background. I have check-box System default set and it is working fine for me.
For Fedora18 KDE, go to System Settings -> Application Appearance -> Color
Select the tab "Colors" and edit the entry "Tooltip Background"
If you're using gnome, change the system wide tooltip background color:
System > Preferences > Appearance
Theme > Customize…
Colors > Tooltips
(source)

How to change the color of black focus box in eclipse?

I am working with Eclipse. When clicking on a method, it usually asks us to p press F2 on to view the method details. However the text is black in color and so is the background. I have to end up selecting all of the contents to view them each time. Is there a way to make the background plain white instead.
You can change the focus window background color from
Window -> Preferences -> C/C++ -> Editor -> Source Hover Background
I found that the background color of that popup cannot be configured via the eclipse preference as it uses the operation system 's ToolTip 's background color .
For the widows OS , you can refer this to change the Tool Tip background color
Found another solution for this Go to Eclipse -> Window -> Preferences -> General->Appearance ->Colors and Fonts
Change the Javadoc Background Color and the Javadoc text Color as per your requirements , no need to change both though
Please find the attached screenshots for the same
ScreenShot1 : Eclipse Settings
ScreenShot2 : Impact of the Eclipse Settings Before and After

Eclipse in Ubuntu: hover background color property, where?

I changed the background color that is visible when hovering code (to black). For example when you hover over a method, you see its signature in a box; I mean the background color of that box.
I want to rechange it but I don't find the property anywhere. Do you know which property it is?
(It should be a global property, because other boxes use the same background color, even the heap status box).
It might be too late. But I think you need to change this from your OS.
System->Preference->Appearance->Customise->Colors->Tooltips
solved my problem.
I am using Ubuntu 10.04.
Preferences -> Java -> Editor -> "Source hover background"?
Edit: OK, do you mean the tooltip type popup window? The background color of the View to show Javadoc can be set in Preferences "General -> Appearance -> Colrs and Fonts -> Javadoc view background" but if you mean a tooltip type popup then you might have to set this in your OS.
In KDE 11.10, System Settings->Application Appearance->Colors(on left)->Colors(tab)->Color Set->Tooltop->Normal Background. Mine was set to black, resulting in black on black in Eclipse.
If you want to change the colour of the hover over for a method that indicates you can click through to its declaration:
Preferences > General > Editors > Text Editors
There is a list of options in 'Appearance Color Options' in the right panel. Select the 'Hyperlink' option and change its colour.
In ubuntu (software center) find and Install GNOME Color Chooser application and set Tool Tip Background color (yellow). Set foreground color to black if you find color viewing problem on other tooltips.
Just go to:
Preferences -> Appearance
and choose a Theme other than GTK
There is no setting for this within Eclipse that works for all cases. You will have to set this on an OS level as recommended by several other answers and it will vary depending on your OS and desktop environment.
However, on some versions of Ubuntu (specifically 14.04), none of the methods mentioned in the answers so far work correctly.
In that case, refer to this this answer on AskUbuntu, which lists the files that need to be edited in order to change the tooltip foreground/background colors to black and white OS wide for the built-in themes. In addition to those, I had to edit one more file (gtk-main.css).
The files that need to be edited are:
/usr/share/themes/Ambiance/gtk-3.0/settings.ini
/usr/share/themes/Ambiance/gtk-3.0/gtk.css
/usr/share/themes/Ambiance/gtk-3.0/gtk-main.css
/usr/share/themes/Ambiance/gtk-2.0/gtkrc
Set all instances of tooltip bg colors to #ffffff (white) and tooltip bg colors to #000000 or any other color combination you like. If you use the Radiance (light) theme instead of the default Ambiance theme edit the files in the corresponding Radiance folder.
For me, no proposed solution did work.
I ended up adding the following to eclipse.ini:
--launcher.GTK_version
2
Preferences -> General -> Appearance -> Colors and Fonts -> Java -> Colored labels (or anything in here)