Find Usages of Symbols

Last modified: 22 September 2022

ReSharper | Find | Find Usages

Alt+F7 (ReSharper_FindUsages)

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 File Structure and other tool windows.

You can also list and study symbol usages in the Peek Definition view.

To do so, by default you can Ctrl-click the declaration or any usage with the middle mouse button. If you want to disable this, clear the Use Ctrl+Middle Button Click Peek Usages checkbox on the Environment | Search & Navigation page of ReSharper options (Alt+R, O). Or you can always invoke this command from the main menu: ReSharper | Navigate | Peek | Peek Usages.

You can change the default behavior so that even the single found usage is also displayed in the Find Results window. To do so, clear the Go to Usage: if there is only one result.... checkbox on the Environment | Search & Navigation | General page of ReSharper options (Alt+R, O).

ReSharper: 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.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by language section.