Go to File Member
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 from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.
- 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 , press Shift+Enter or + on the numeric keypad.
If you want to search only for constructors, enter
ctor (with trailing space) in the search box as a filter. To show only members with a specific access modifier, type this modifier. For example, type
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 and technologies:
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.
- Search Everywhere/Go to 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 Navigation
- Structural Search and Replace
- Navigating to Recent Locations
- Go to Next/Previous Member