Is there any possibility to turn on the highlighting for Classes and Objects in Eclipse like it is in Visual Studio? At the moment only the Variable names are highlighted.
Left: Eclipse, Right: Visual Studio 2012
Image: (http://image-uploader.de/bild.php/9468,unbenanntHU9EZ.jpg)
Preferences -> Java -> Editor -> Syntax Coloring
Then just switch on / off what you want highlighted.
try this
Window -> Preferences -> Java -> Editor -> Mark Occurrences
Full explanation here of how to add advanced syntax marking http://www.javalobby.org/forums/thread.jspa?threadID=15586
来源:https://stackoverflow.com/questions/13566517/eclipse-turn-on-syntax-highlighting-for-classes-and-objects