Go to Class
This command lets you navigate to any type (class, interface, struct or enum) in symbols and files in your entire solution as well as all assemblies referenced in the projects of your 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 navigate to a type
- Choose in the main menu.
- In the Enter class name pop-up list that appears, start typing the item name. As you type, the list of items narrows down, suggesting names that match the entered substring.
- Optionally, select Include non-solution classes to display matching items from libraries referenced in the solution.
By default, as long as your input matches something in your solution, only solution items are displayed. If there are no matches for your input in the solution, JetBrains Rider starts looking for matching library types automatically.
- Do one of the following:
If the item you navigate to belongs to the current solution, JetBrains Rider opens the corresponding file in the editor and places the caret at the symbol declaration. If it is found in referenced libraries, JetBrains Rider decompiles the corresponding assembly and locates the symbol in the decompiled file.
Case-insensitive CamelHumps is supported here: for example, you can simply type "ch" instead of "ColorHelper". If you want to navigate to a type by its fully qualified name, you can type parts of the name and split them with spaces or dots.
You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters; '+' (plus), ':' (semicolon), '.' (dot), and '\' (backslash) separate parts of the type's fully qualified name.