CLion 2021.1 Help

Appearance

Use this page to customize the appearance of the editor.

Item

Description

Caret blinking (ms)Select this checkbox to make the caret blink with the specified period (in milliseconds).
Use block caretSelect this checkbox to have the block caret applied in the Insert mode and the usual caret applied in the Overwrite mode.
Clear this checkbox to have the usual caret applied in the Insert mode and the block caret applied in the Overwrite mode.
Show hard wrap and visual guides (configured in Code Style options)Select this checkbox to have a thin vertical line at the right margin of the editor displayed. Refer to the description of the Code Style settings.
Show line numbersSelect this checkbox to have line numbering shown in the editor gutter.
Show method separators

Select this checkbox to have thin lines displayed in classes to separate methods from each other and to separate methods from field declarations.

Show whitespaces

Select this checkbox to have CLion display whitespaces or tabs (depending on the Code Style settings).

You can select the following options:

  • Leading: select this checkbox to add whitespaces before your code line.

  • Inner: select this checkbox to display whitespaces inside the line of your code.

  • Trailing: select this checkbox to display whitespaces after the code line.

Show indent guidesSelect this checkbox to display vertical lines in the editor to indicate positions of indents and thus facilitate typing, manual formatting, reading, and maintaining code.
Show intention bulbWhenever CLion detects that your code can be modified or improved, a light bulb icon appears on the current line in the editor: the Intention action icon for intention actions and the Quick-fix icon for quick-fixes. Clear this checkbox if you don't want to see these icons. You can still access the list of available actions and quick-fixes by pressing Alt+Enter.
Show code lens on scrollbar hover Select this checkbox to enable the lens mode.
Render documentation commentsSelect this checkbox to always render documentation comments as text paragraphs with proper formatting and links right in the editor. Rendered comments are easier to read, and they don't overload your code with extra tags.
Enable HTML/XML tag tree highlighting

Select this checkbox to show the hierarchy of tags highlighted with different colors. If this option is enabled, you can define the following options:

  • Levels to highlight: specify the depth of hierarchy to be highlighted.

  • Opacity: specify brightness of highlighting

Tags highlighting

Highlighting is activated when there is more than one tag with the same name in the hierarchy.

Show CSS color preview as background

If this checkbox is selected, the background of the color value shows the color preview:

Showing CSS color preview in the background

By default, CLion also shows color preview icons in the gutter. Clicking such icon invokes the Color Picker where you can change the color value.

Click color gutter icon to open the color picker

To hide these gutter icons, clear the Color preview checkbox on the Gutter Icons page.

See also Changing color values.

Last modified: 22 March 2021