I have been working with Eclipse for a long time, and I am quite sure that the canonical way to this does not exist.
In Eclipse, these things are managed based on each editor, and the Java editor does not support what you are looking for for everything I know. At least for the Java editor, you can make a little configuration in what is highlighted and how ( Preferences > Java > Editor > Mark Occurrences ), but I think you already know that.
As for the plugins, I do not know a single plugin that achieves what you are looking for. Actually, I would be surprised if there really was a plugin that does what you are looking for.
If something comes, I would really appreciate that you share it here, I tried to achieve decent lighting in Eclipse for years unsuccessfully ... :)
fgysin Aug 30 '11 at 12:40 2011-08-30 12:40
source share