Navigation in a code base with Rider
How to navigate around a code base? Let's look at some easy ways of doing so.
Navigating Code in Rider
JetBrains Rider enables you to find your way through the source code using the declarations, members, method calls, inheritance hierarchy, errors, and so on as well as through IDE items like actions, settings, and tool windows.
The scope of navigation and search is not limited to files of just your solution: you can include symbols from referenced libraries.
Some other options available are:
- Search by Name
- Navigate from Symbols
- Navigate To, a general-purpose shortcut that groups all navigation options available
- Find Usages of a particular symbol in the current file, project, solution, or referenced libraries
- Navigate Current Context
The previous list is by no means complete. The Rider web help on Navigation has many more examples and use cases.
You can use the Tab and Shift+Tab keys to quickly move text selection to the next or previous code element, without having to use the mouse, or the cursor keys. This way you can quickly jump to the next or previous logical piece of code.
Programming languages, and markup languages such as HTML, typically have a tree structure, of elements embedded in other elements. To visualize those, the editor may show colored guidelines for some languages, and provides breadcrumbs