CLion 2026.2 Help

Inlay Hints

Inlay hints are special markers that appear in the editor and provide additional information about your code, like the names of the parameters. Other types of hints inform you about annotations, code authors, usages, and so on (depending on the language).

In inlay hints settings, you can configure what types of information you want to get in hints.

For more information about the C/C++ specific hints, refer to Parameter hints for C/C++ and Type hints for C/C++.

Inlay hints settings

Configure the appearance of inlay hints

Inlay hints take their color and style from the color scheme. Their size is based on the editor font: most hints are rendered one point smaller than the surrounding code and follow the editor zoom level. By default, CLion uses the font configured for the IDE user interface.

Change the color and style of inlay hints

  1. In the Settings dialog (Ctrl+Alt+S) , go to Editor | Color Scheme | Language Defaults, then select Inline hints.

  2. Select the inlay hint type and state, and configure the font color and effects as required.

Use the editor font for inlay hints

  1. In the Settings dialog (Ctrl+Alt+S) , go to Editor | General | Appearance.

  2. Select the Use editor font for inlay hints option.

After enabling the option, CLion uses the font configured in Settings | Editor | Font for inlay hints.

17 August 2026