ReSharper 2020.1 Help

Go to File Member

ReSharper | Navigate | Go to File Member…

You can use this command to quickly navigate to a particular method, field, property in the current document (which can be a source file or a file reconstructed by decompilation).

You can also use this command to search text in the current document — textual matches will appear in the popup after the matching members.

To navigate to a file member or a textual occurrence

  1. Press Ctrl+F12 or choose ReSharper | Navigate | Go to File Member… from the main menu . Alternatively, you can press Ctrl+Shift+A, start typing the command name in the popup, and then choose it there.

  2. In the Enter member name popup that appears, start typing the item name. As you type, the lookup list narrows down, suggesting members whose names match the entered substring. Below matching members, matching textual occurrences will appear.

    ReSharper: Go to File Member popup

  3. Optionally, select Include base members or press Alt+N if you want to include members from base classes, members from other parts of this class (in case this class is partial), or from other referenced files.

  4. Do one of the following:

    • Click the desired item to open it in the editor.

    • Select the desired item by pressing Up and Down and then 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 ThemedIcon SearchResults Screen Gray png, press Shift+Enter or + 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 png.

    • To locate the selected file in the Solution Explorer, click Show in Solution Explorer Locate in Solution Explorer or press Ctrl+Enter.
      If the preview tab is enabled in Visual Studio options (Tools | Options | Environment | Tabs and Windows | Allow new files to be opened in the preview tab), the file will also open in the editor.

If you want to search only for constructors, enter new or ctor (with trailing space) in the search box as a filter.

ReSharper: Go to File Member. Constructors
To show only members with a specific access modifier, type this modifier. For example, type private to show private members
ReSharper: Go to File Member. Access modifiers

Case-insensitive CamelHumps is supported here: for example, if there is a member FindAction in your file, you can find it by typing 'fa' or 'FA' in the search box.

You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters.

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 availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is availableFeature is not 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.

Last modified: 19 June 2020