Eclipse: Turn on syntax-highlighting for Classes a

2020-03-01 17:59发布

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条回答
疯言疯语
2楼-- · 2020-03-01 18:42

Preferences -> Java -> Editor -> Syntax Coloring

Then just switch on / off what you want highlighted.

查看更多
Emotional °昔
3楼-- · 2020-03-01 18:43

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

查看更多
兄弟一词,经得起流年.
4楼-- · 2020-03-01 18:48

try this

Window -> Preferences -> Java -> Editor -> Mark Occurrences
查看更多
登录 后发表回答