Go to Symbol
Ctrl+Shift+Alt+N
ReSharper_GotoSymbol
This command allows searching by name for any code symbol within symbols and files in your entire solution as well as all assemblies referenced in the projects of your solution. Search results also include matching items from all assemblies that are currently loaded in the Assembly Explorer Window.
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 navigate to a symbol
- Press Ctrl+Shift+Alt+N or choose in the main menu .
- In the Enter symbol 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.
-
Select the
Include library types
check box or press
Alt+N
to display items from libraries referenced in the solution.
By default, as long as your input matches with anything in your solution, only solution items are displayed. If your there are no matches for your input in the solution, ReSharper starts looking for matching library types automatically. -
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
or press + on the numeric keypad.
If the item you navigate to belongs to the current solution, ReSharper opens the corresponding file in the editor and places the caret at the symbol declaration. If it is found in referenced libraries, ReSharper navigates according to the settings defined on the page of ReSharper options.
You can narrow down the list of items using CamelHumps. It is case-insensitive, so there is no difference between 'actta' and 'ACTTA'.
If you want to navigate to a symbol in a particular type, you can specify parts of the type's fully qualified
name and member name and split them with spaces or dots.
Consider the example below:
This feature is supported in the following languages/technologies:
C# | VB.NET | C++ | HTML | ASPX | Razor | JavaScript | TypeScript | CSS | XML | XAML | RESX | Build Scripts | Protobuf | 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.
See Also
Procedures:
- Go to Everything/Type
- Go to File
- Go to File Member
- 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
- CamelHumps