JetBrains Rider 2021.1 Help

Find Usages of Symbols

Edit | Find | Find Usages
Alt+F7

This command allows finding all usages of one or more symbols in the solution and referenced assemblies. You can start the search from the declaration of the symbol or from any other usage. You can invoke this command from the Solution Explorer, from the Structure window and other tool windows.

Find usages of a symbol

  1. Place the caret at a symbol in the editor or select the symbol in the Structure tool window.

  2. Do one of the following:

    • In the main menu, choose Edit | Find | Find Usages.

    • Right-click and choose Find Usages in the context menu.

    • Press Alt+F7.

  3. If a single usage is found, JetBrains Rider will navigate you to the usage directly in the editor. Two or more search results will be shown in the Find Results window, where you can conveniently explore and analyze the usages.

JetBrains Rider: Finding Usages of a Symbol

It is also possible to search for usages of multiple symbols declared in a specific scope, that is in one or more files, folders, or projects.

Find usages of multiple symbols

  1. In the Solution Explorer, select one or more nodes — files, declarations inside them, folders, or projects.

  2. Press Alt+F7.

  3. Search results will be shown in the Find Results window, where you can see all declarations in that scope (search targets) and all usages of these symbols in the solution.

Find usages of generic types

When searching for usages of generic types such as IFoo<string>, you may actually want to find either all usages of IFoo<> or usages of the exact generic substitution IFoo<string> only.

By default, JetBrains Rider allows you to disambiguate the search results by showing an additional popup.

Last modified: 01 July 2021