ReSharper 2017.3 Help

Go To File

ReSharper | Navigate | Go To File
Ctrl+Shift+N
ReSharper_GotoFile

This command navigates you to any file within the current solution.

Note that this command works in global scope, i.e. you do not need to bring your focus to the editor to invoke it.

To go to a file in the current solution

  1. In the main menu, choose ReSharper | Navigate | Go To File or press Ctrl+Shift+N.
  2. In the Enter file or folder 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.
  3. 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 ThemedIcon SearchResults Screen Gray , press Shift+Enter or + on the numeric keypad.

You can narrow down the list of items using CamelHumps. It is case-insensitive, so there is no difference between 'iconfse' and 'IConfSe'.

GoToFile
If you want to navigate to a file in a particular folder, you can type parts of the file path and split them using spaces, slashes or backslashes. Consider the example below:
GoToFile Backslashes
You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters; '+' (plus) represents one or more characters. To specify a line in the searched file, type it after a ':' (colon).

ReSharper can optionally remember the last input that you used to find something with Go to Everything/Type, Go To File, and Go to Text actions. To enable this behavior, select Remember last search on the Environment | Search and Navigation page of ReSharper options. When this option is selected, ReSharper will also use your selection in the editor as the search string. For example, you can select a file name in a string and then press Ctrl+Shift+N to search for files in your solution that match this name.

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 Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available

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.

Last modified: 7 December 2017

See Also