JetBrains Rider 2019.1 Help

Configuring colors and fonts

As a developer, you work with a lot of text resources: the source code in the editor, search results, debugger information, console input and output, and so on. Colors and font styles are used to format this text and help you better understand it at a glance.

JetBrains Rider uses color schemes that define the preferred colors and fonts.

You can use a predefined color scheme or customize it to your liking. It is also possible to share schemes.

Select a color scheme

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme.

  2. Use the Scheme list to select a color scheme.

By default, there are the following predefined color schemes:

  • Default: color scheme designed for the Light theme.

  • Darcula: color scheme designed for the Darcula theme.

  • High contrast: color scheme designed for users with sight deficiency (the High contrast theme).

  • ReSharper Dark: color scheme designed for users who worked with JetBrains ReSharper in dark Visual Studio theme.

  • ReSharper Light: color scheme designed for users who worked with JetBrains ReSharper in light/blue Visual Studio theme.

  • Visual Studio Light: color scheme designed for users who worked with light/blue theme in Visual Studio.

  • Visual Studio Light: color scheme designed for users who worked with dark theme in Visual Studio.

Customize a color scheme

You can customize a predefined color scheme, but it is recommended to create a duplicate for your custom color and font settings:

Duplicate a color scheme

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme.

  2. Select a color scheme, click the Settings icon, and then click Duplicate.

  3. (Optional) To rename your custom scheme, click the Settings icon and select Rename.

To define color and font settings, expand the Editor | Color Scheme section in the Settings/Preferences dialog (Ctrl+Alt+S). The settings are separated into sections. For example, the General section defines basic editor colors, such as the gutter, line numbers, errors, warnings, popups, hints, and so on. The Language Defaults section contains common syntax highlighting settings, which are applied to all supported programming languages by default. In most cases, it is sufficient to configure Language Defaults and make adjustments for specific languages if necessary. To change inherited color settings for an element, clear the Inherit values from checkbox.

Language Defaults section under Color Scheme settings

Share color schemes

If you are used to a specific color scheme, you can export it from one installation and import it to another one. You can also share color schemes with other developers.

Export a color scheme as XML

JetBrains Rider can save your color scheme settings as an XML file with the .icls extension. You can then import the file to another installation.

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme.

  2. From the Scheme list, select a color scheme, click The Settings icon, then click Export and select IntelliJ IDEA color scheme (.icls).

  3. Specify the name and location of the file and save it.

Export a color scheme as a plugin

The plugin can be uploaded to the plugin repository for others to install. This format has several benefits over an XML file, including metadata, feedback, download statistics, and versioning (when you upload a new version of the plugin, users will be notified about it).

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme.

  2. From the Scheme list, select a color scheme, click The Settings icon, then click Export and select Color scheme plugin .jar.

  3. In the Create Color Scheme Plugin dialog, specify the version details and vendor information. Then click OK.

Import a color scheme

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme.

  2. From the Scheme list, select a color scheme, click The Settings icon, then click Import Scheme.

Fonts

To customize the default font, open the Editor | Font page of JetBrains Rider settings (Ctrl+Alt+S). This font is used and inherited in all color schemes by default.

Customize the color scheme font

You can set a different font for your current scheme.

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme | Color Scheme Font.

  2. Select the Use color scheme font instead of the default checkbox.

Customize the console font

By default, text in the console uses the same font as the color scheme. To use a different font in the console:

  1. Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to Editor | Color Scheme | Console Font.

  2. Select the Use console font instead of the default checkbox.

Productivity tips

You can navigate to the relevant color scheme settings for the symbol under the caret using the Jump to Colors and Fonts action. Press Ctrl+Shift+A and start typing the action name to find and execute it.

Last modified: 23 May 2019