如果您使用熟悉的代码样式,例如 LLVM、Google 或 Stroustrup,则可以从中复制代码样式设置。转到 设置/偏好设置 | 编辑器 | 代码样式 | C/C++ 并点击 设置自… | 预定义样式

Predefined Code Style