# Smart Keys for C++

> **TL;DR**
> `Settings | Editor | General | Smart Keys | C++`

![Smart keys for C++](https://resources.jetbrains.com/help/img/idea/2026.2/cl_nova_smartkeys.png)

On this page, you can configure the behavior of the editor in the C++ context.

| Reindent on closing brace |  The code block is reformatted after you type `}`.  |
| Generate documentation comments |  CLion generates documentation when you press `Enter` after `///`.  |
| Insert `*/` after `/*` |  The end-comment indicator `*/` is inserted automatically after `/*`.  |

