Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing highlighting color in a theme from Eclipse color theme

I'm using Eclipse Color Theme plugin and it works great. I have only one issue. Sometimes when Eclipse highlights fragments of code it just doesn't seem readable. For example when Eclipse highlights search results it looks like this:

enter image description here

The name "Product" is hardly visible in the highlight. Is there any way to tune highlight color settings in Eclipse Color Theme?

PS. I'm using default themes that I got after installing the plugin. I didn't download any custom themes.

like image 388
Piotr Sobczyk Avatar asked Sep 05 '13 11:09

Piotr Sobczyk


1 Answers

You can adjust the highlight colors directly in Eclipse.


On the right side of your code you see the color mark for the search results (red arrow).
If you right-click on this mark the entry "Preferences" shows up.

Screenshot of Code with higlights


This will take you to the Preferences Dialog: General > Editors > Text Editors > Annotations

Screenshot of Preferences Dialog

If you adjust the colors for Occurences and Search Results this should do the trick for you.

like image 98
Kaadzia Avatar answered Oct 29 '22 19:10

Kaadzia