AppCode 2018.3 Help

Viewing Usages of a Symbol

Using the Show Usages function, you can bring up a list of symbol usages across the whole project.

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 ⌥⌘F7. AppCode displays the Show Usages pop-up window which lists all occurrences of the symbol at caret.

  3. Examine and analyze the detected occurrences of a symbol:
    • Use the toolbar buttons to present search results in the desired way.

    • To jump from search results to a line of a source code, click the desired entry.

    • To close the list, press .

  4. If necessary, customize the search options in the search options dialog box. To invoke the dialog box, do one of the following:
    • In the Show Usages pop-up window, click the Settings button (icons general gearPlain svg).

    • Press ⌥⇧⌘F7.

The Find tool window displays a toolbar with the following buttons:

Icon

Tooltip

Description

icons actions groupByMethod svg

Group by file structure

If this toggle is on, the found usages are shown under the corresponding method nodes.

mergeUsages

Merge usages from the same line

Merge usages of the symbol from the same line.

icons actions showReadAccess svg

Show read access

Show read access to the symbol.

icons actions showWriteAccess svg

Show write access

Show write access to the symbol.

icons general settings svg

Settings.../⌘,

Open the Find Usages dialog box for the selected symbol where you can change the search options.

icons general pin tab svg

Open Find Usages tool window/⌥F7

Click this button to pin the Show Usages pop-up window and show usages in the Find Usages tool window.

Last modified: 28 March 2019

See Also