How to change highlighted warning/error text background color in eclipse? - eclipse

I'm using Retta color theme in eclipse. The problem is when I hover with the mouse over the warning or error symbols, it gives me a white background and I can't see a thing.
Highlighted text
Where I can change that? I've already tried going to General>Editors>Text Editors>Annotations, but changing the options there didn't solve the problem (like making Text as Underline and so on). The problem only occurs when I hover the mouse over the warning/error symbol.

First you should over the word with the highlighted background and then proceed to right click, then go to Preferences > Appearance color options
Then you should be able to adjust the colors to your liking.

Related

How to remove the highlighting bar when typing code in Netbeans 11?

In Apache Netbeans 11.1, I use Nimbus and Netbeans light theme. This light theme has a problem that I find really annoying.
As shown in pictures below, when I type pub (for public) and stop half way, the row turns black, which makes the code not readable. If I finish the public keyword, the row will turn to a color set at Highlight Caret Row.
So how can I remove the black row when typing?
When Typing:
Finished:
I found the answer. It's quite simple but I did not look up carefully. So here is the trick.
This black color bar comes from the Fixable Error of Annotations. So just changing the background of this Fixable Error category from dark color to any color will do the work. (Have to close and re-open the code editor to see the change) .
Here I changed to white background, and it's gone.
Try playing with these settings:
Auto Popup Completion Window
Auto Popup Documentation Window
Display Documentation Next to Completion

How do I change the color of the content inside window showed in the image? I'm using STS

I was using STS and decided to give it a try to the dark theme, but the color of the tooltip window, was black and the font also black hence impossible to read, so I restored the appearance to the default settings hoping that the tooltip window color would change as well but it didn't. I haven't found a way to customize the colors of it. Does anyone knows how to do that? Thanks in advance.
screenshot of tooltip window

How to make Eclipse's tab's background color changed when use dark theme?

I am trying to make my Eclipse cooler like IntelliJ's darcular theme. Everything is fine now except the tab's background's color. It's white and I can't see the words clearly.
Just like the picture below.
Oh, I don't know why it can be seen in the screenshot.
But what I want like this:
By TWiStErRob's comment I found where to change it for me, which also had bright tabs when switching to dark theme.
Below the steps how I changed my tabs:
Go in the top menu to window, then preferences.
Then drill down to General > Appearance > colors and fonts
There is a list with multiple background begin, background end options. If you select an option you can use the edit button to change the color.
Default you only get the basic colors. By clicking the *Define Custom Colors >>** button you can use a color picker or the hex/hsl editor fields to enter your own preferred colors. I changed them all (all the background begin/background end options) from their bright colors to darker colors.
The end result.
Thanks to TWiStErRob for giving the pointer where to find the setting.

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 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.