ReSharper 2020.2 Help

Find Usages of Related Entities

ReSharper | Find | Find Usages Advanced
Shift+Alt+F7
ReSharper_FindUsagesAdvanced

This command enables you to find usages of entities that are somehow related to the selected symbol (for example, textual occurrences, dynamic references, and so on) in the specific scope. You can invoke this command from the Solution Explorer, from the File Structure window and other tool windows.

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

  2. If a single usage is found, ReSharper 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.

  1. Search the desired symbol using one of the following commands:

  2. When the desired symbol appears in the results list, select it using the keyboard and then press Shift+Alt+F7.

  3. If a single usage is found, ReSharper 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.

ReSharper. 'Search Properties' dialog

If necessary, you can change the default behavior so that 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 in the Environment | Search & Navigation page of ReSharper options.

This feature is supported in the following languages and technologies:

Language: C#Language: VB.NETLanguage: C++Language: HTMLLanguage: ASP.NETLanguage: RazorLanguage: JavaScriptLanguage: TypeScriptLanguage: CSSLanguage: XMLLanguage: XAMLLanguage: ResxLanguage: Build ScriptsLanguage: ProtobufLanguage: JSON
Feature is available in C#Feature is available in Visual Basic .NETFeature is available in C++Feature is available in HTMLFeature is available in ASP.NETFeature is available in RazorFeature is available in JavaScriptFeature is available in TypeScriptFeature is available in CSSFeature is not available in XMLFeature is available in XAMLFeature is available in Resource filesFeature is not available in build script filesFeature is available in ProtobufFeature is not available in JSON

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.

Last modified: 21 August 2020