Eclipse: enable syntax highlighting for classes and objects

Is it possible to enable selection for classes and objects in Eclipse, as in Visual Studio? Currently, only 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)

+8
eclipse syntax-highlighting
source share
3 answers

Settings -> Java -> Editor -> Syntax Coloring

Then just turn on / off what you want to highlight.

+13
source share

try it

Window -> Preferences -> Java -> Editor -> Mark Occurrences 
+11
source share

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

+2
source share

All Articles