如何在CLion中设置端部支架的位置
How to set the position of the end bracket in CLion
我想写这样的代码:
for (int i = 0; i < 10; i++) for (int j = 0; j < 10; j++) {
// something
}
但是,在CLion中,会生成以下代码:
for (int i = 0; i < 10; i++) for (int j = 0; j < 10; j++) {
// something
}
我希望CLion能像第一个例子一样生成代码。如何设置端部支架的位置?
试着将大括号的放置样式调整为"下一行",而不是"下一个行移位"。
相关文章:
- 将值指定给向量(2D)的向量中的某个位置
- 使用Unreal C++获取VR耳机的世界位置/方向
- ArrayFire中统一后端的使用
- 写入位置0x0000000C时发生访问冲突
- "unknown ca"自生成的 CA、证书和客户端/服务器
- 如何将两个不同矢量的同一位置的两个元素组合在一起
- GL_SHADERSTORAGE_BUFFER位置是否与其他着色器位置冲突
- 如何将函数集合传递给客户端类,以便将它们当作客户端类本身的成员使用
- 使用调试/崩溃报告将应用程序部署到客户端
- 如何在本地机器上运行c++和javascript客户端代码(hackerbank风格)
- 如何通过套接字将文本文件的内容从服务器发送到客户端
- 如何使用cudaMallocManaged在指针位置初始化对象?(C++)
- 无法获取webot::PositionSensor对象中位置传感器的值
- 如何在Mac OSX上的窗口客户端内获取真实的鼠标位置?
- 参数包不在最后位置的部分类模板专用化
- 如何在CLion中设置端部支架的位置
- 自定义客户端应用程序-需要控制文档保存的位置
- 获取USB设备集线器和端口位置属性
- 串行端口卡在等待位置(4,
- 从文本控件中检索字符位置的客户端区域坐标