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

4

17

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.

Superfine answered 9/12, 2010 at 19:10 Comment(0)
B
26

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!

Bowra answered 7/2, 2012 at 2:6 Comment(0)
W
1

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

content assist example

The setting is General->Appearance->Color Basic->Content Assist Backgroundpreference setting

Then it's just a matter of finding colors that please you.

Wilone answered 7/8, 2013 at 23:37 Comment(4)
As far as I remember this setting was not present in the previous versions of Eclipse. I am now using IDEA, which does not have this kind of problemsSuperfine
You asked about Eclipse 3.6 (Helios). This feature certainly was in Helios and it was also in the prior 3.5 (Galileo) version as well.Wilone
That changes the colour for the un-selected items in the list. The question is how to change the colour of the currently selected item in the list.Murillo
Did I not make that obvious with my opening statement? And the body of the question made it seem likely that the OP really wanted better visibility of the selected item.Wilone
S
0

Try Preferences->General->Appearance->Color and Fonts then find the appropriate category.

Some editors will have support for "Colored labels - match highlight"

Stupefaction answered 9/12, 2010 at 19:16 Comment(2)
Did you read my message? I've said that there is no option for setting it. It seems that eclipse derives some colors from windows color theme screws everything up in the processSuperfine
Ah, sorry. There are lots of "color settings" in Eclipse, but sometimes users don't find the right ones.Stupefaction
A
0

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.

Anzovin answered 3/2, 2011 at 22:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.