ReSharper 8.0 Web Help

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.

To navigate to a file member
  1. Open a file in the editor.
  2. On the main menu, choose ReSharper | Navigate | Go to File Member, or press Ctrl+F12Alt+\.
  3. 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.
  4. 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
    By default, only members from the current class are listed.
  5. Do one of the following:
    • To view the list of found members in the Find Results window, click Show in Find Results go_to__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'.

Navigation_and_Search__Go_to_File_Member

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

Navigation_and_Search__Go_to_File_Member__new

To filter out everything, but members with private accessibility level, for example, type private in the text box.

Navigation_and_Search__Go_to_File_Member__access_modifier

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

Note

Whenever collecting items to match the specified string takes significant time, ReSharper displays an hourglass icon watch 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:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

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.