JetBrains Rider 2020.3 Help

Editor Basics

The editor has a lot of visual elements that help you read, write, and navigate the code. Let's take a look at some of them.

JetBrains Rider: visual elements of the editor
  • Line numbers are displayed by default, but you can hide them by clearing the Show line numbers checkbox on the Editor | General | Appearance page of JetBrains Rider settings Ctrl+Alt+S.

  • Code folding adornments help you expand and collapse code elements.

  • Action indicators show that one or more actions are available for the current caret position. To see the available actions, press Alt+Enter or click the indicator.

  • Breakpoints let you suspend program execution at the marked statement.

  • Bookmarks let you mark code lines where you want to return later.

  • Syntax and error highlighting— while syntax highlighting improves the readability of clean code, error highlighting helps to visualize detected code issues.

  • Breadcrumbs at the bottom of the editor show and allow navigating the structural path from the top of the file to the current caret position.

In this section:

You can use the following shortcuts for basic editing tasks:

Command Shortcut
Move Caret to Previous Word Ctrl+Left
Move Caret to Next Word Ctrl+Right
Move Caret to Line Start Home
Move Caret to Line End End
Containing Declaration Alt+Shift+[
Move Caret to Matching Brace Ctrl+Shift+M
Move Caret to Code Block Start Ctrl+[
Move Caret to Code Block End Ctrl+]
Next Method Alt+Down
Previous Method Alt+Up
Move Caret to Page Top Ctrl+Page Up
Move Caret to Page Bottom Ctrl+Page Down
Page Up Page Up
Page Down Page Down
Move Caret to Text Start Ctrl+Home
Move Caret to Text End Ctrl+End
Select All Ctrl+A
Left with Selection Shift+Left
Right with Selection Shift+Right
Move Caret to Previous Word with Selection Ctrl+Shift+Left
Move Caret to Next Word with Selection Ctrl+Shift+Right
Move Caret to Line Start with Selection Shift+Home
Move Caret to Line End with Selection Shift+End
Up with Selection Shift+Up
Down with Selection Shift+Down
Select Containing Declaration Ctrl+Alt+Shift+[
Move Caret to Code Block Start with Selection Ctrl+Shift+[
Move Caret to Code Block End with Selection Ctrl+Shift+]
Move Caret to Page Top with Selection Ctrl+Shift+Page Up
Move Caret to Page Bottom with Selection Ctrl+Shift+Page Down
Page Up with Selection Shift+Page Up
Page Down with Selection Shift+Page Down
Move Caret to Text Start with Selection Ctrl+Shift+Home
Move Caret to Text End with Selection Ctrl+Shift+End
Extend Selection Ctrl+W
Shrink Selection Ctrl+Shift+W
Add Selection for Next Occurrence Alt+J
Copy Ctrl+C
Cut Ctrl+X
Paste Ctrl+V
Paste without Formatting Ctrl+Alt+Shift+V
Paste from History... Ctrl+Shift+V
Duplicate Line or Selection Ctrl+D
Copy Paths Ctrl+Shift+C
Copy Reference Ctrl+Alt+Shift+C
Save All Ctrl+S
Undo Ctrl+Z
Indent Selection Tab
Unindent Line or Selection Shift+Tab
Start New Line Shift+Enter
Start New Line Before Current Ctrl+Alt+Enter
Delete Line Ctrl+Y
Toggle Case Ctrl+Shift+U
New Scratch File Ctrl+Alt+Shift+Insert
Open source in new window Shift+F4
Last modified: 04 January 2021