Black text on black window on Eclipse - eclipse

When I move the cursor over an annotation, for example, it opens a window with a black background but also the text is black and therefore it’s not visible, so every time I have to highlight the text to read it and it is uncomfortable ...
I'm sure there is a setting somewhere but I haven't found it.
See the picture below

A good solution is Help -> Eclipse Marketplace -> search "Darkest Dark Theme with DevStyle" and install the plugin. (Currently is the most popular plugin so you can find it by going to the tab "Popular").

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.

Eclipse on Ubuntu 12.10 - BG color of Java editor left margin

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.

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

How to change search background color in eclipse

I've been searching for about 40 minutes now and this is just so frustrating...
The standard search result background color in eclipse is freaking white and black. Everytime I search something I have to scan the screen for like 50 seconds before I find the spot where Eclipse has found something. I don't know which goon set it this way but he must be working with the goon who programmed the interface for configuring the colors... I can't find it.
Where do I change the background color of search results?
I feel ashamed to have to ask this here... but the things I've tried, like setting it in general>editors>text-editors>annotations didn't work.
In the Eclipse menu bar:
Windows->Preferences->General->Editors->Text Editors->Annotations
Then scroll down to "Search Results" and set the highlighted text color.
This works for Eclipse Helios and Eclipse Juno. I haven't tested other versions.
I am not sure I understand what you mean, but this might help, go to:
Eclipse -> Preferences -> General -> Search there is a line in the right that reads:
"Foreground color for potential matches" and it has a box right next to it where you can change the colors.
You can change the color of the search.
Otherwise, you can also change the colors of what Eclipse highlights by going to:
Eclipse -> Preferences -> General -> Appearance -> Colors and Fonts -> Match Highlight background color
and change the color there.
Hope this helps!
You can also look at this webpage:
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Faccessibility%2Ffontsandcolors.htm
This may not be true for all modes, but I'm using Eclipse with Flash Builder plugin on Mac, and it turned out I had to modify the current selection highlight:
General -> Editors -> Text Editors -> Selection Background Color
Also in the search results window (that lists all the findings in a tree), the background color is under a different setting: Windows->Preferences->General->Appearance->Colors and Fonts->Match highlighting background color.
You can change search background color like this: (works for Luna and previous versions)
In the Eclipse menu bar: Windows->Preferences->General->Editors->Text Editors->Annotations
Then scroll down to "Search Results" and set the highlighted text color.
Old question but I will add my findings. I'm using a MacBook Pro
Using Eclipse Mars.1, while I do a 'text' search (using Emacs). To set the search highlight (or background) color I do the following:
Preferences->General->Editors->Text Editors see the Appearance color options section. Highlight the Selection background color and use the color palette to set your desired color.
It is somewhat frustrating as the only way I could get this to work is to restart Eclipse. After the restart I am happy.
Same as #bityz's answer, except for me the annotation which mattered was "Occurrences". I tried this on Eclipse 4.3 Kepler.
To highlight the matching keywords in Juno
Windows->Preferences->General->Text Editor-.Annotations-> in Annotation Types box, look for Write Occurrences. Change the color there.
If you mean (as I think you do) how do you change the highlight colour of strings that match what you select in an editor (e.g. you double-click on 'filename' and Eclipse highlights other references to 'filename' in a dull grey background), then the following post answers this:
Eclipse: How do you change the highlight color of the currently selected method/expression?
In a nutshell, you want:
* General -> Editors -> Text Editors -> Annotations
* Look for "Occurrences" in the Annotation types list and change it from grey to your favourite colour!
I have also found, if you are looking at C++ code (at least in Eclipse Mars 2), changing the following option will set the highlight color of all occurrences of your current (or most recent) search, in case this is what you are looking for:
General->Editors->Text Editors->Annotations->C/C++ Occurrences
Why oh why this is not in the C++ preferences pane I will never know.

How to change the color of the currently selected line in a code assist popup in Eclipse?

I've recently downloaded Eclipse 3.6, everything works fine, but there is one issue that really frustrates me. The highlight color of a currently selected item in a code assist popup is barely visible against white background. I've tried to mess with color settings, but it seems that there is no option for my needs. The line highlight color set in Windows color scheme is only used to highlight in a focused popup.
I believe it is hidden in another part of Preferences. I personally wanted to change the highlighted or currently selected line color, and could not find anything in Colors and Fonts. Ends up it was in...
General -> Editors -> Text Editors
And you just need to go through every option in the "Appearance color options" box there. One is "Current line highlight" and that fixed my problem. I hope it helps yours!
I know you're trying to change the highlight color, but if the problem is contrast you can change the content assist background color, and get this kind of contrast
The setting is General->Appearance->Color Basic->Content Assist Background
Then it's just a matter of finding colors that please you.
Try Preferences->General->Appearance->Color and Fonts then find the appropriate category.
Some editors will have support for "Colored labels - match highlight"
I was having the same issue and I've found a solution for windows XP. If you go to Control Panel -> Display -> Appearance -> Advanced and select 3D Objects under Item you can change the color of this highlight to a darker color.
However it does change the appearance of other parts of your windows.