Using the Go to File Member feature you can navigate within a source file quickly and directly. This feature is context-dependent, so the list of available members changes from file to file.
- Open a file in the editor.
- On the main menu, choose ReSharper | Navigate | Go to File Member, or press Ctrl+F12Alt+\.
- The pop-up list appears. All file members are displayed there. Start typing characters in the Enter member name text box. As you type, the list narrows down, suggesting names that match the entered substring.
Select the Include members from related files check box or
press Alt+N to include members from:
- base classes
- other parts of this class in case this class is partial
- other referenced files
Do one of the following:
- To view the list of found members in the Find Results window, click Show in Find Results or press + on the numeric keypad.
- To navigate directly to a particular member, select it in the list and press Enter.
You can narrow down the list of items using CamelHumps. It is case-insensitive, so there is no difference between 'gx' and 'GX'.
If you want to search only for constructors, enter new (with trailing space) in the search box as a filter.
To filter out everything, but members with private accessibility level, for example, type private in the text box.
You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters; '+' (plus) represents one or more characters.
Whenever collecting items to match the specified string takes significant time, ReSharper displays an hourglass icon to the right of your search string. Substantial delays are to be expected when performing search before ReSharper loads completely.
This feature is supported in the following languages/technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.