9

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)

0

3 Answers 3

15

Preferences -> Java -> Editor -> Syntax Coloring

Then just switch on / off what you want highlighted.

Sign up to request clarification or add additional context in comments.

1 Comment

The question was intended for Java. But note that Syntax Coloring can be enabled/customized for other languages supported by Eclipse through "Preference -> [Language] -> Editor -> Syntax Coloring
12

try this

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

2 Comments

Except that isn't what he asked for. Mark Occurrences dynamically highlights the selected token anywhere it's found in the file.
Thanks! for the "occurrences"; Eclipse wasn't marking my occurrences elsewhere in the file.
2

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.