Home > Articles > Programming > Java

  • Print
  • + Share This
This chapter is from the book

Displaying Javadoc Documentation While Editing

The IDE gives you a few ways to access documentation for JDK and library classes.

To glance at documentation for the currently selected class in the Source Editor, press Ctrl-Shift-spacebar. A popup window appears with the Javadoc documentation for the class. This popup also appears when you use code completion. You can dismiss the popup by clicking outside of the popup.

To open a web browser on documentation for the selected class, right-click the class and choose Show Javadoc (or press Alt-F1).

To open the index page for a library's documentation in a web browser, choose View | Documentation Indices and choose the index from the submenu.

  • + Share This
  • 🔖 Save To Your Account