CLion 2022.3 Help

Appearance

Use this page to customize the appearance of the editor.

Caret blinking (ms)

Select this checkbox to make the caret blink with the specified period (in milliseconds).

Use block caret

Select 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 numbers

Select 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 guides

Select 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 bulb

Whenever 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 preview for intention actions when available

Automatically open the preview for intention actions.

When the option is disabled, you can press Ctrl+Q in the list of available intentions to toggle the preview on.

Render documentation comments

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

Show code lens on scrollbar hover

Select this checkbox to enable the lens mode.

Use editor font for inlay hints

Select this checkbox to use the font of the editor text instead of the inlay hints font, which is defined in the color scheme.

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 Editor | General | Gutter Icons page of the IDE settings Ctrl+Alt+S.

For more information, see Changing color values.

Last modified: 12 January 2023