AppCode 2017.2 Help

Viewing Usages of a Symbol

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:

mergeUsagesN/AMerge usages of the symbol from the same line.
showReadAccessN/AShow read access to the symbol.
showWriteAccessCtrl+WShow write access to the symbol.
groupByFileStructureN/AIf this button is pressed, the found usages show under the corresponding method nodes.
findN/AShow search results in the Find Usages tool window.
settingsN/AOpen the Find Usages dialog box for the selected symbol where you can change the search options.

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 N/A. 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 the symbol:
    • 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 N/A.
  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 settings1.
    • Press N/A.
Last modified: 13 December 2017

See Also