Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse IDE Scope Highlighting?

When I first learned Java, I was using an IDE called "BlueJ." It had this feature called "Scope Highlighting" which made it very easy to read blocks of code. Now I've moved on from BlueJ and began using Eclipse. I'm currently in the process of customizing Eclipse to my liking and would like this Scope Highlighting feature inside Eclipse.

I've searched everywhere for an answer on how to do it but I cannot find any information pointing to a solution for doing it in Eclipse.

Here's a picture to demonstrate what Scope Highlighting looks like:

Notice the background color behind each method

like image 740
David Meyer Avatar asked Aug 05 '12 23:08

David Meyer


People also ask

How do I stop highlighting the selected variable in Eclipse?

Alt + Shift + O disables and enables this feature, which is called Mark Occurrences.

How do you highlight occurrences in eclipse?

All instances where the element is referenced within the file will be highlighted. To configure Mark Occurrences settings: To toggle mark occurrences, click the Toggle Mark Occurrences button. on the toolbar -or- press Alt+Shift+O.

How do I change the highlight in eclipse?

Under Preferences->General->Colors and Fonts, select "Match background highlight" and edit/reset the colour.


1 Answers

I think the best option for you is EditBox, a scope highlighting plugin for Eclipse: http://editbox.sourceforge.net/

like image 96
Utku Özdemir Avatar answered Oct 14 '22 00:10

Utku Özdemir