How to change the color of the currently selected

2019-03-17 23:08发布

问题:

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.

回答1:

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!



回答2:

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.



回答3:

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

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



回答4:

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.