Type hints for C/C++
To increase code readability, CLion provides type hints in the editor inlined with your code. For example, type hints are shown for deduced types:
Also, the hints are present for auto
variables and structured bindings:
Another example is lambda return types:
Watch this video to learn more about parameter hints and type hints:
Toggle type hints
Type hints are enabled by default. To hide them, use one of the following options:
Go to C/C++ checkbox to hide all the type hints or a particular checkbox to hide only some of them.
and clear theIn the editor, right-click a hint and select the option from the context menu:
Last modified: 26 May 2024