Philip Giuliani
Philip Giuliani

Reputation: 1366

Eclipse: Turn on syntax-highlighting for Classes and Objects

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)

Upvotes: 9

Views: 27883

Answers (3)

user136776
user136776

Reputation: 606

Preferences -> Java -> Editor -> Syntax Coloring

Then just switch on / off what you want highlighted.

Upvotes: 15

2ne
2ne

Reputation: 5976

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

Upvotes: 2

Festus Tamakloe
Festus Tamakloe

Reputation: 11310

try this

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

Upvotes: 12

Related Questions