Viewing Javadoc information
The JDT provides easy access to Javadoc information for the code edited in the
Java editor.
- Open the Java editor on a Java file.
- Ensure that the Show Text Hover button
in the workbench toolbar is toggled on.
- Place the mouse pointer over the element whose Javadoc information you
want to view (a method name, for example).
- If Javadoc information is available, a pop-up window opens, displaying
the Javadoc information. HTML Javadoc can be viewed as any other resource
in the workbench, through an embedded or external editor or viewer. Import
the Javadoc into the workbench and double-click it in the Package Explorer.
You can also view Javadoc information by:
- Opening the Java editor on a Java file.
- Placing the mouse pointer over the element whose Javadoc information
you want to view (a method name, for example).
- Pressing F2 or selecting Edit > Show Tooltip Description
from the menu bar.
To view Javadoc in an external browser: