Up to a few days ago, Eclipse was working fine in locating the javadoc for base classes such as Java.io.File. Recently, though, hovering over these classes only yields a message
Press ctrl+click
(or command+click
if you're on a Mac) on any method which doesn't have javadocs. For example, in this line:
System.out.println();
... assuming that no javadocs are available for println
, control-clicking on println
will open a new tab with a button labeled "Attach Source...". And that's it!