简体   繁体   English

Clion中的代码对齐

[英]Code alignment in Clion

I updated my Clion and my code alignment settings changed. 我更新了Clion,并更改了代码对齐设置。 Before I had 在我之前

1个

now I have 我现在有

2

How can I have my code like the first picture ? 我怎样才能像第一张图片一样使用我的代码? What settings to tweak ? 要调整哪些设置?

代码样式> c / c ++>二进制表达式>多行时对齐

settings->editor->code style->tabs and indents 设置->编辑器->代码样式->制表符和缩进

If it doesn't help, leave them a bugreport at https://youtrack.jetbrains.com/issues/CPP 如果没有帮助,请在https://youtrack.jetbrains.com/issues/CPP上向他们提交错误报告

what's your CLion version btw? 请问您的CLion版本是什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM