RubyMine 2018.3 Help

Configuring Colors and Fonts

With RubyMine, you can maintain your preferable colors and fonts layout for syntax and error highlighting in the editor, search results, Debugger and consoles via font and color schemes.

RubyMine comes with a number of pre-defined color schemes. You can select one of them, or create your own one, and configure its settings to your taste.

It is important to mention the Language Defaults settings page, which contains the settings that are common for all the supported languages. It's enough to change one of the settings there, and then inherit this setting from the defaults.

Configure a global font

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), click Editor | Color Scheme. The Color Scheme page opens.

  2. Select a color scheme that you want to modify from the Scheme name drop-down list.

  3. Under the Color Scheme node, select Font or Console Fonts.

  4. In the Editor Font area, configure the primary and secondary fonts, their size, and line spacing.

    editor font

Customize global color settings

The Language Defaults menu contains color settings that are common to the majority of language elements (for example, keywords, dots, commas, parenthesis, and other elements).

  1. Navigate to File | Settings | Editor | Color Scheme | Language Defaults.

  2. In the list of language elements, select an element (for example, Keyword). The background of the keywords is white; let's make it yellow.

  3. Select a checkbox of the option that you want to change (for example, Background).

  4. Click the field near the setting name to open a Color Picker.

  5. Select a color and click OK.

configuring language defaults

Customize font settings for JavaScript

  1. Navigate to File | Settings | Editor | Color Scheme | JavaScript.

  2. If the Inherit values from checkbox is selected, clear this checkbox.

  3. Select the necessary checkboxes for the font settings: Bold, Italic.

color scheme

Configure semantic highlighting

Settings/PreferencesCtrl+Alt+SColor SchemeEditorLanguage Defaults
  1. In the list of language elements, click Semantic highlighting.

  2. Select the Semantic highlighting checkbox, which is in the upper-right corner of the dialog.

  3. As a result, all parameters in the list receive predefined colors. To change the suggested color, click the color picker and select the suitable color.

semantic highlighting
Last modified: 6 December 2018

See Also