ReSharper 2016.1 Help

Go to Usages of Symbol

ReSharper | Navigate | Usages of Symbol
Ctrl+Alt+F7
ReSharper_GotoUsage

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 editor, 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 if 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 pop-up. 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 Options | Environment | Search & Navigation options page.

To navigate to a usage of a symbol

  1. Place the caret on a symbol in the editor or select the symbol in a tool window.
  2. Press Ctrl+Alt+F7 or choose ReSharper | Navigate | Usages of Symbol in the main menu .
  3. If the symbol has only one usage, ReSharper will navigate to it directly.
  4. Found usages and their contexts appear in a pop-up. Do one of the following:
    • Click on the desired item to open it in the editor.
    • Select the desired item by pressing UpArrow and DownArrow and the press Enter to open it in the editor.
    • Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.
    • To view and analyze the list of matched items in the Find Results Window, click Show in Find Results go_to__show_in_find_results or press + on the numeric keypad.
    • To show the matched items on the type dependency diagram, press Alt+Num+ or click Show on Diagram ThemedIcon.TypeLayoutAlt.Screen.[Gray] .

This feature is supported in the following languages/technologies:

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts Protobuf JSON
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

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.

See Also

Last modified: 19 August 2016