ReSharper 2020.2 Help

Go To File

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

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

  1. Do one of the following:

    • Click 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 png, press Shift+Enter or + on the numeric keypad .

    • To locate the selected file in the Solution Explorer, click Show in Solution Explorer Locate in Solution Explorer or press Ctrl+Enter.
      If the preview tab is enabled in Visual Studio options (Tools | Options | Environment | Tabs and Windows | Allow new files to be opened in the preview tab), the file will also open in the editor.

ReSharper: Go to file
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:
ReSharper: Go to file
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 remember the last input that you used to find something with Search Everywhere/Go to Type, Go to Symbol, Go To File, and Go to Text actions. To enable or disable this behavior, use the Remember last search checkbox on the Environment | Search and Navigation page of ReSharper options. When this option is selected, ReSharper will also use your current selection in the editor as the initial search query. For example, you can select a filename in a string and then press Shift+Control+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.NETLanguage: C++Language: HTMLLanguage: ASP.NETLanguage: RazorLanguage: JavaScriptLanguage: TypeScriptLanguage: CSSLanguage: XMLLanguage: XAMLLanguage: ResxLanguage: Build ScriptsLanguage: ProtobufLanguage: JSON
Feature is available in C#Feature is available in Visual Basic .NETFeature is available in C++Feature is available in HTMLFeature is available in ASP.NETFeature is available in RazorFeature is available in JavaScriptFeature is available in TypeScriptFeature is available in CSSFeature is available in XMLFeature is available in XAMLFeature is available in Resource filesFeature is available in build script filesFeature is available in ProtobufFeature is available in 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.

Last modified: 10 December 2020