Eclipse: Turn on syntax-highlighting for Classes and Objects

末鹿安然 提交于 2019-11-30 03:06:37

问题


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)


回答1:


Preferences -> Java -> Editor -> Syntax Coloring

Then just switch on / off what you want highlighted.




回答2:


try this

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



回答3:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!