DataGrip 2018.3 Help

Configure colors and fonts

With DataGrip, 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.

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

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

  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 SQL

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

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

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

db customize font settings for sql

To configure semantic highlighting

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

  2. In the list of language elements, click Semantic highlighting.

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

  4. 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: 28 November 2018