Eclipse Tip: Hover to view source

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.

Vasanth Dharmaraj is a Java Architect currently working for Western Union living in the Bay Area. He is interested in programming, gadgets, formula one... You can follow him on Twitter.

Posted in Eclipse, Java
2 comments on “Eclipse Tip: Hover to view source
  1. Matt says:

    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.

  2. Vasanth says:

    Glad I could be of help.

Ads By Google