Clippy

my thoughts on java, smartphones, stuff…

Eclipse Tip: Hover to view source

2

Eclipse Tip Hover to view source

There are different hovers in Eclipse which are shown based on modifiers like Shift, Ctrl… One of such hovers is pops up when the ‘Shift’ key is pressed when hovering over a class or method in the Java editor. This shows the source code of the class or method. This is pretty handy to identify quickly the method or class that is being used. This helps a lot during code reviews or when I am looking at my own code after a long time.

2 Comments

  1. Matt

    Thanks for the tip. Normally, I’d be bouncing back and forth with F3 and Alt-Left, but this seems a much preferable way of quickly looking up a definition.