JetBrains Rider 2021.2 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:

Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Paste as Plain Text 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
Redo Ctrl+Shift+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
Scratch File Ctrl+Alt+Shift+Insert
Open source in new window Shift+F4
Show Whitespaces Ctrl+R, W
Soft-Wrap Ctrl+E, W

For the full list of JetBrains Rider keyboard shortcuts, see Keyboard shortcuts in predefined keymaps.

Last modified: 20 August 2021