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
In the Settings/Preferences dialog (Ctrl+Alt+S), click .
Select a color scheme that you want to modify from the Scheme name drop-down list.
Under the Color Scheme node, select Font or Console Fonts.
In the Editor Font area, configure the primary and secondary fonts, their size, and line spacing.
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).
Navigate to File | Settings | Editor | Color Scheme | Language Defaults.
In the list of language elements, select an element (for example, Keyword).
Select a checkbox of the option that you want to change (for example, Background).
Click the field near the setting name to open a Color Picker.
Select a color and click OK.
Customize font settings for SQL
If the Inherit values from checkbox is selected, clear this checkbox.
Select the necessary checkboxes for the font settings: Bold, Italic.
To configure semantic highlighting
Press Ctrl+Alt+S to open the Settings/Preferences dialog and then go to .
In the list of language elements, click Semantic highlighting.
Select the Semantic highlighting checkbox, which is in the upper-right corner of the dialog.
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.