7.7.3 Finding Function Usages

You can use the Find Usages command to determine each place a function is used in your project’s source code.

To find where a function is used in your project:

  1. In the Navigator window or the Source Editor window, right click the function name and choose Find Usages - Alt + F7 (or Ctrl + F7 for macOS).
  2. The Find Usages command displays the code lines that call the function. In the Find Usages dialog box, click Find.

    The Usages window displays the file name and the line of code for each usage found in that file.

To jump to a specific occurrence of the function, do one of the following actions:

  • In the Usages window, use the up and down arrow buttons in the left pane to navigate from one occurrence of the function to the next.
  • Double click a line of code to open the file and position the cursor on that particular line of code.