IntelliJ IDEA 11.1 Web Help

9.0+

Using the Show Usages function, you can bring up a list of the usages of a symbol across the whole project. So doing, the pop-up window with the list of usages of a symbol features a toolbar with the following buttons:

Icon Shortcut Description
mergeUsages Ctrl+F Command F or Alt+F3 Alt F3 Merge usages of the symbol from the same line.
showReadAccess Ctrl+RCommand R Show read access to the symbol.
showWriteAccess Ctrl+WCtrl W Show write access to the symbol.
showImportStatements Ctrl+ICommand I Show usages in the import statements.
find Alt+F7Alt F7 Show search results in the Find Usages tool window.
settings Ctrl+Shift+Alt+F7Command Shift Alt F7 Open the Find Usages dialog box for the selected symbol, enabling you to change search options.

Tip

In addition to the possibility of viewing usages, you can use this function as a quick means of navigation.

To view the usages of a symbol across the project
  1. Place the caret at the desired symbol in the editor.
  2. On the main menu, choose Edit | Find | Show Usages, or press Ctrl+Alt+F7Command Alt F7.
  3. For the fields that might have accessor methods, you can show the getters and setters found in project. To do that, click Yes in the Search Accessors dialog box.
  4. Use the toolbar buttons to present search results in the desired way.
    To jump from search results to a line of source code, click the desired entry.
    To close the list, press EscapeEscape.

    showUsages

See Also

Procedures:

Reference:

Web Resources: