In Eclipse M9 there are more syntax highlighting options for the Java editor. The
editor now understands code semantics like parameters, local variables, inherited
method invocation… You can set different highlighting option for these. You can enable
semantic highlighting by checking the 'Enable advanced highlighting'
in Window>Preferences>Java>Editor>Syntax. The following
are the new syntax highlighting options:
All this makes the java editor very colorful. :-) But once you get used to it, it
helps to understand other people's code better. There is also an option to set the
'return' keyword to a different color form other keywords. This can
be used to quickly spot all the exit points of a method. Plus now it is also possible
to use italics in syntax highlighting.