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.
Related
Since upgrading to Ubuntu 12.10, one of the things that's been annoying me is the background color of the left margin of the Eclipse Java editor window. It's pretty much white, which makes it difficult to see where the actual left edge of the editor window ends and the margin begins. Screenshot:
I've looked through all the Eclipse color settings and also all the "Gnome Color Chooser" settings and I don't see where I would change this. Any ideas?
Thanks!
You will want to go to Windows->Preferences->General->Editors->Text Editors and find the section called Appearance color options. You will want to change the Selection background color. This will also change the background of the main document, but this will make where one section begins and ends well defined. You can experiment with these settings and the settings under Java->Editor until you get the color scheme you want.
I am using OS X Lion and bought a Dell monitor last night.
A few minutes ago, I found that with the Eclipse's default window background color, the color trembles like a fluorescent light. That color was (233,233,233) and I found the color makes that part of the screen tremble in every case. I mean, if I set the desktop color to that, the desktop trembles.
I had installed Windows on the same Mac, so I booted up with Windows 7, but (233,233,233) did not make the screen tremble. Maybe it is because of the Lion OS.
Now, with the Eclipse's background trembling, it is really annoying to write codes. I investigated the preferences, but I could not find any option to change the window background color. How can I do this?
If the color is tied to the system preferences, how can I change the system color for that? I could not change any option in the System Preferences dialogue either.
You can change the background color of text editors via Preferences -> "Text Editors". Though, I'm not sure whether it will be any prettier than what you see today...
i'd like to know how to change the color of eclipse's quick watch view (the topmost on the picture), which is enabled by clicking CTRL+SHIFT+I on a variable or expression while in debug mode.
I'm using eclipse STS 2.8 (guess its based on Indigo,but maybe Helios), on ubuntu and it gets really hard to read the contents as the picture shows.
I guess either the background color or the foreground color would be enough
Thanks
That background color cannot be configured in the eclipse because it uses your OS 's ToolTip 's background color .
You can refer this for how to change the tooltip background color in Ubuntu
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)
I am using Eclipse 3.5 IDE on Fedora linux. Too much white or light gray color is hurtful to my eyes. I managed to change the background of editor and console window to black but nothing else so I am still seeing 30 to 40% space as not black. How do I change the background color of package explorer?
If not possible then how to hack into eclipse source code or config files somewhere to do that and also to change all UI panels color to black from the current light grey and text to some other color from black?
Much of the appearance of Eclipse is controlled by the GTK+ theme. You can edit the current theme or try different themes out. The "Nokoka-Midnight" theme, for instance, is almost entirely black. I like a program called gtk-chtheme to switch them.
Nokoka-Midnight
To change only editor without affecting the entire IDE you can try two approaches:
http://www.eclipsecolorthemes.org/
Go to Windows>Preferences>General>Editors>Text Editors and Java>Editor>Syntax Colouring and edit the colors there.