JetBrains Rider 2023.2 Help

Editor basics

Overview of visual elements

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

Colors and fonts

General colors of visual elements in the editor are defined by the user interface theme; colors and font size of specific code elements are defined by the editor color scheme.

Line numbers

By default, editor shows line numbers in all files that you open. If you prefer not to see line numbers, clear the Show line numbers checkbox on the Editor | General | Appearance page of JetBrains Rider settings Control+Alt+S.

Apart from that, you can show or hide line numbers in the current document without changing the global setting: select View | Active Editor | Show Line Numbers from the main menu.

Line wraps (soft wraps)

When working with code files, you normally do not need soft wraps if your code is properly formatted.

If you need to enable soft wraps in specific kinds of files, select Soft-wrap these files on the Editor | General page of JetBrains Rider settings Control+Alt+S and add a wildcard for the corresponding file names.

Editor shortcuts

You can use the following shortcuts for basic editing tasks:

Cut

Control+X

Copy

Control+C

Paste

Control+V

Paste as Plain Text

Control+Alt+Shift+V

Paste from History...

Control+Shift+V

Copy Paths

Control+Shift+C

Copy Reference

Control+Alt+Shift+C

Save All

Control+S

Undo

Control+Z

Redo

Control+Shift+Z

Indent Selection

Tab

Unindent Line or Selection

Shift+Tab

Auto-Indent Lines

Control+Alt+I

Start New Line

Shift+Enter

Start New Line Before Current

Control+Alt+Enter

Delete Line

Control+Y

Join Lines

Control+Shift+J

Duplicate Line or Selection

Control+D

Toggle Case

Control+Shift+U

Scratch File

Control+Alt+Shift+Insert

Open Source in New Window

Shift+F4

Show Whitespaces

Control+R, W

Soft-Wrap

Control+L, W

Increase Font Size in All Editors

Alt+Shift+.

Decrease Font Size in All Editors

Alt+Shift+,

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

Also in this section

Last modified: 30 January 2023