Go To File
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
- In the main menu, choose or press Ctrl+Shift+N.
- 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.
- Do one of the following:
You can narrow down the list of items using CamelHumps. It is case-insensitive, so there is no difference between 'iconfse' and 'IConfSe'. 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: 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 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/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.
- Go to Everything/Type
- Go to File Member
- 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 Previous Edit
- Go to Next/Previous Member
- Go to Containing Declaration
- Navigation from Symbols
- Navigate To
- Finding Usages
- Context-Dependent Navigation
- Navigating to Recent Locations
- Structural Search and Replace