IntelliJ IDEA 13.1.0 Web Help

Quick Definition Lookup makes it possible to view definition of a symbol (tag, class, method/function, field, etc.) in a pop-up window.


On this page:

To view definition of a symbol at caret, do one of the following
  • On the main menu, choose View | Quick Definition.
  • Press or or .
  • Keeping the key pressed, point with your mouse cursor to the symbol of interest, so that it turns to a hyperlink, with the definition of the symbol displayed in a tooltip. Clicking this hyperlink results in opening the respective definition page in the editor.


    • Quick definition tooltip shows hyperlinks to the symbols involved.


    • 12.0+ When you move your mouse pointer within the tooltip, a pin button pin appears. If you pin the tooltip, documentation for the symbol at caret is displayed in the Documentation Tool Window.

Toolbar of the Quick Definition Lookup

Use the icons on the toolbar of the pop-up window to navigate to the source code of the definition and view its usages.

Icon Keyboard shortcut Action
arrowBack.png arrowForward.png or
Navigate to the previous/next screen in the definition pop-up window after using hyperlinks in the definition.


On a OS X computer, you can also use the three-finger right-to-left and left-to-right swipe gestures.

edit.png or or Open the source code of the definition for editing, and close the quick definition lookup window.
showDetails Open the source code of the definition, and preserve the quick definition lookup window opened.
searchHistoryIcon.gif or or Open the usages of the detected definition across the project in the Find tool window.

See Also




Web Resources: