Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 276
NewlessClubie Avatar asked Dec 09 '10 19:12

NewlessClubie


People also ask

How do I change the color of a selection in eclipse?

Open Preferences, and navigate to General->Editors->Text Editors->Annotations. Select Occurrences, and change the color to whatever you like..


2 Answers

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!

like image 176
Brian Handy Avatar answered Sep 20 '22 06:09

Brian Handy


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.

like image 34
Tod Avatar answered Sep 19 '22 06:09

Tod