Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to change highlight color for selected occurrences in Eclipse?

Tags:

eclipse

When a method or variable is selected it is highlighted in Eclipse with some color. Can anyone advice where to change that color? I'm working under Windows OS.

like image 873
Eugene Avatar asked Jan 15 '11 10:01

Eugene


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..

How do you highlight occurrences in eclipse?

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.

How do I stop highlighting the selected variable in Eclipse?

Alt + Shift + O disables and enables this feature, which is called Mark Occurrences. There is also a toolbar button to toggle it on and off.

Can you highlight code in Eclipse?

Eclipse plugin for highlighting the background of the source code. While most of plugins highlight the syntax of the source code, EditBox highlights the selected block of the code (method, class, e...


1 Answers

I've found where to change it:

Preferences -> General -> Editors -> Text Editors -> Annotations and there you have to change both "Occurrences" and "Write occurrences".

like image 92
Eugene Avatar answered Nov 10 '22 16:11

Eugene