9
votes

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)

Visual difference between Eclipse(left) and Visual Studio (right)

3

3 Answers

14
votes

Preferences -> Java -> Editor -> Syntax Coloring

Then just switch on / off what you want highlighted.

12
votes

try this

Window -> Preferences -> Java -> Editor -> Mark Occurrences
2
votes

Full explanation here of how to add advanced syntax marking http://www.javalobby.org/forums/thread.jspa?threadID=15586