# C++ 智能键

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/clion/llms.txt).

> **TL;DR**
> `设置 | 编辑器 | 常规 | 智能键 | C++`

![智能键用于 C++](https://resources.jetbrains.com/help/img/idea/2026.3/cl_nova_smartkeys.png)

在此页面，您可以配置编辑器在 C++ 上下文中的行为。

|  在右大括号时重新缩进  |  在您输入  `}` 后，代码块会重新格式化。  |
|  生成文档注释  |  当您在  `///` 后按下  `Enter` 时，CLion 会生成文档。  |
|  在  `/*` 后插入  `*/`   |  结束注释标识符  `*/` 会在  `/*` 后自动插入。  |

