Navigate Current Context
Move caret in the current document
|Command||How to invoke||Use it to|
| Move Caret to Previous Word |
Move Caret to Next Word
| Move Caret to Line Start |
Move Caret to Line End
|Move the caret to the first/last character on the current line.|
|Go to Containing Declaration||Alt+Shift+[||Move the caret to the declaration of a type or a function from any position within its body.|
|Move Caret to Matching Brace||Ctrl+Shift+M||When the caret is right before or after a brace or a bracket, jump to the brace or bracket that matches it.|
| Move Caret to Code Block Start |
Move Caret to Code Block End
|Move the caret to the opening/closing brace of the enclosing code block.|
| Next Method |
|Move the caret to the declaration of the next/previous member in the current type.|
| Move Caret to Page Top |
Move Caret to Page Bottom
|Ctrl+Page Up |
|Move the caret to the top/bottom line of the currently visible editor area, without scrolling.|
| Page Up |
|Page Up |
|Move the caret up/down to the current height of the editor area and scroll the document accordingly, and then further with the same step in the same direction.|
| Move Caret to Text Start |
Move Caret to Text End
|Move the caret to first/last character in the current document.|
Navigate file by its structure
With JetBrains Rider, you can navigate the structure of the current document using the Structure window, which greatly simplifies navigation in large files. The window is synchronized with the editor: as you switch to another editor tab, the window displays the structure of the corresponding file. To navigate through the file easily, preprocessor directives are hidden by default.
Right from the Structure window, you can access even more actions. To check the available commands, you can right-click any symbol.
Use editor breadcrumbs
View code outside of the editor frame
You can hover the mouse over the scrollbar to view source code above or below the currently visible area:
You can disable this behavior by clearing the Show code lens on scrollbar hover checkbox on the page of JetBrains Rider settings Ctrl+Alt+S.
Navigate to containing declaration
With a single shortcut, you can jump in the editor to the declaration of a type or a function from any position within its body.
Navigate between members and tags
With the Next/Previous Member commands, you can quickly navigate between members and nested types in code files or between tags in markup files.
Navigate editor tabs and tool windows
Locate current item in other views
When you select a file, type, member, or other code item in the editor or one of the tool windows, you can quickly locate it in another IDE component.
Press Alt+F1 or select Select Target popup shows up.from the main menu. The
Use the arrow keys or the mouse pointer to select the desired component. If your target is the Solution window, you can select the desired view:
Locate current document in Solution/Assembly Explorer
This handy navigation feature lets you expand the tree in the Solution Explorer, auto-scroll and highlight the item corresponding to the current document. It is especially useful when you have a massive solution, or a limited screen area that forces you to shrink the Solution Explorer window to the limit.
JetBrains Rider will bring up the Solution Explorer window to focus and show you the item there.