Go to File Member
Ctrl+F12
ReSharper_GotoFileMember
You can use this command to quickly navigate to a particular method, field, property, etc. in the current document (which can be a source file or a file reconstructed by decompilation).
To navigate to a file member
- Press Ctrl+F12 or choose in the main menu .
-
In the
Enter member name
pop-up that appears,
start typing the item name. As you type, the lookup
list narrows down, suggesting names that match the entered substring.
- Optionally, select Include members from related files 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.
-
Do one of the following:
- Click on 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.
-
To view and
analyze
the list of matched items in the
Find Results Window, click
Show in Find Results
or press + on the numeric keypad.
If you want to search only for constructors, enter
new
or
ctor
(with trailing space) in the search box as a filter.
private
to show private members
You can narrow down the list of items using
CamelHumps.
It is case-insensitive, so there is no difference between 'gx' and 'GX'.
You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters; '+' (plus) represents one or more characters.
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
Procedures:
- Go to Everything/Type
- Go to File
- Go to Symbol
- Go to Base Symbols
- Go to Derived Symbols
- Go to Declaration
- Go to Implementation
- Go to Type of Symbol
- Go to Usages of Symbol
- Go to Containing Declaration
- Viewing File Structure
- Navigation from Symbols
- Navigate To
- Finding Usages
- Context-Dependent Navigation
- Navigating to Recent Locations
- Structural Search and Replace
- CamelHumps
- Go to Previous Edit
- Go to Next/Previous Member