coderushforroslyn-115798-navigation-and-search-tools-navigate-to.md
CodeRush includes the Jump To window that allows you to navigate inside the code structure and particular code fragments. For instance, you can navigate to the class declaration, list interface implementations, etc.
This feature works in C#, Visual Basic, TypeScript, JavaScript, CSS, XAML, and Blazor code. The following screencast shows the Jump To window in Blazor:
To invoke the Jump To window, use one of the following ways:
The set of available navigation providers depends on the identifier type. The table below lists navigation providers:
| Name | Availability | Target |
|---|---|---|
| Assignments | When the caret is in a property, field, local parameter or event declaration/reference | Any assignment of the variable |
| Base Types | When the caret is in a class, structure or enumeration declaration or reference | Any type in the inheritance chain |
| Declaration | When the caret is in any symbol reference | The symbol declaration |
| Derived Types | When the caret is in a class or interface declaration or reference | Any type derived from the current one |
| Parent Type | Anywhere within the type (interface, class, structure or enumeration) block | The declaration of the type at the caret’s location |
| Members | When the caret is in a type declaration, or anywhere within the type block (works for partial types) | Any member of the current type |
| Instantiations | When the caret is in a class or structure declaration or reference | Any instantiation of the class/structure |
| Implementations | When the caret is in an interface, abstract class declaration, abstract member or reference | Any implementation of the type or member |
| Implemented API | When the caret is in an interface or class declaration or reference | Any exposed member |
| Overloads | When the caret is in a method declaration or reference | Any overload of the member |
| Overrides | When the caret is in a base class or an overridden member of the abstract or virtual class | Any override of the member |
| Overridden Base Member | When the caret is in an overridden member | Base member overridden by the current one |
| References | When the caret is in an identifier | Any identifier |
| Symbol | Anywhere | Any symbol in the solution |
| File | Everywhere | Any file in the solution |
| Open File | Everywhere | Any opened file |
| XAML Element | Everywhere | Any named element in your XAML code |
| Everything | Everywhere | Any file or symbol in the solution |
The Base Types , Derived Types , Members , Instantiations and Implementations navigation providers are also available in TypeScript code.
Invoke the Jump To window.
Select the navigation provider (for example, Symbol ).
Type a symbol’s name or a part of it in the search field.
Click the “Display data in a separate window” button to open the References window.
Choose an item in the search result list. CodeRush navigates to the corresponding location in the code editor.