I've just been editing a giant web.xml. At some moment I had highlighted all servlet names using Ctrl-Shift-F7.
It would have been a nice visual help if different colors (pink/blue) were used for definition location vs. reference locations.
This feature is available in most IDEA editors by now
Perhaps it could be generalized, and work everywhere?