JetBrains Rider 2023.1 Help

Create and edit code

In this section:

You can use the following shortcuts for basic editing tasks:

Basic editing

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

Ctrl+L, W

Caret navigation

Select text

Multiple carets and selection ranges

And here are shortcuts for advanced code editing helpers:

Coding assistance

Show Intention Actions

Alt+Enter

Basic Completion

Ctrl+Space

Type-Matching Completion

Ctrl+Shift+Space

Second Basic Completion

Ctrl+Alt+Space

Complete Current Statement

Ctrl+Shift+Enter

Reformat Code

Ctrl+Alt+L

Parameter Info

Ctrl+P

Quick Documentation

Ctrl+Q

Move Statement Up

Ctrl+Shift+Up

Move Statement Down

Ctrl+Shift+Down

Move Element Left

Ctrl+Alt+Shift+Left

Move Statement Right

Ctrl+Alt+Shift+Right

Move Line Up

Alt+Shift+Up

Move Line Down

Alt+Shift+Down

Comment with Line Comment

Ctrl+/

Comment with Block Comment

Ctrl+Shift+/

Surround With...

Ctrl+Alt+T

Generate...

Alt+Insert

Code Cleanup...

Ctrl+R, C

Silent Code Cleanup

Ctrl+R, G

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

Last modified: 13 August 2021