ReSharper 2023.2 Help

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.

Navigate to a file member or a textual occurrence

  1. Press Control+F12 or choose ReSharper | Navigate | Go to File Member… from the main menu . Alternatively, you can press Control+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:

  5. The selected search result can be opened either in the normal editor tab or in the Preview tab. To always open the results in the Preview tab, select Open new files in preview tab from everywhere on the Environment | Search & Navigation page of ReSharper options and make sure that it is also enabled in Visual Studio options.

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.NET

Language: C++

Language: HTML

Language: ASP.NET

Language: Razor

Language: JavaScript

Language: TypeScript

Language: CSS

Language: XML

Language: XAML

Language: Resx

Language: Build Scripts

Language: Protobuf

Language: JSON

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in HTML

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in JavaScript

Feature is available in TypeScript

Feature is available in CSS

Feature is available in XML

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

Feature is available in Protobuf

Feature is not available in JSON

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the ReSharper by language section.

Last modified: 22 September 2022