JetBrains Rider 2022.1 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.

  • 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.

  • Code vision adds various helpful information to types and type members.

  • Inlay hints are automatically inserted into your code to improve its readability.

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

  • VCS line status highlighting identifies modified code lines if version control integration is enabled.

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

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

  • 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

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

Auto-Indent Lines

Ctrl+Alt+I

Start New Line

Shift+Enter

Start New Line Before Current

Ctrl+Alt+Enter

Delete Line

Ctrl+Y

Join Lines

Ctrl+Shift+J

Duplicate Line or Selection

Ctrl+D

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

Alt+Z

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

Last modified: 10 May 2022