ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Go to Usages of Symbol

Last modified: 21 July 2022

ReSharper | Navigate | Show Usages

Shift+Alt+F12 (ReSharper_ShowUsages)

This command allows you quickly navigate to a specific usage of a symbol from its declaration or any other usage. You can invoke this command from the Solution Explorer, from the File Structure window and other tool windows. The opposite navigation is available with the Go to Declaration command.

The list of usages that you get with this command is the same as that of Find Usages. But this command is more convenient for symbols with a limited number of usages, in cases when you are looking for a specific usage and want to get to this usage without opening the Find Results window.

You can configure ReSharper behavior for the cases when a single usage is discovered. By default, the usage is displayed in a popup. If you want ReSharper to jump tho the single usage in these cases, select the corresponding option (Go to Usage: if there is only one result, navigate without displaying the list) on the Environment | Search & Navigation | General page of ReSharper options (Alt+R, O).

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.

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.