Similar, but different to this question:
I use highlight occurrences a lot, but sometimes I'm irritated by how hard it is to see the little grey-ish rectangles on the rightmost side of the editor - to the right of the scrollbar.
Is there any way to change the color of these markers - looking in General -> Editors -> Text Editors -> Annotations
gives me control over the colors of annotations, but it doesn't seem to work for find occurrences. Also, I can right click on the markers and it sends me to the same dialog, but the color still seems to do nothing.
Any ideas?
I'm using the Java editor.
Glance does not work anymore, but in current Eclipse Versions (Eclipse 2020) you can highlight any word by selecting the word and pressing CTRL+F.
Open Preferences, and navigate to General->Editors->Text Editors->Annotations. Select Occurrences, and change the color to whatever you like..
Eclipse Color Theme makes it possible to switch color themes conveniently and without side effects. After the installation, go to Window→Preferences→General→Appereance->Color Theme to change the color theme.
It used to take a restart(!) for the color modification to change for certain editors! (as in 2006), due to a bug in Platform UI.
But for current edition (3.4.x, 3.5.1), the General->Editors->Text Editors->Annotations
preference page (the Occurrences
item) should be enough to change on the spot any color settings you want.
After that, it depends on the nature of the editor (PDT editors used to miss that feature, until bug 166178 was fixed)
In Kepler 4.3 we can change the colour of occurrence as follow:
General -> Editors -> Text Editors -> Annotations -> Occurrences
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With