C++ 如何在UCrusify'中删除空间;s";选项卡空间";-缩进?
我的源代码C++ 如何在UCrusify'中删除空间;s";选项卡空间";-缩进?,c++,uncrustify,code-formatting,C++,Uncrustify,Code Formatting,我的源代码 namespace one { namespace two { -> static const class Example : -> -> Int1, Int2, Int3 -> { -> public: -> Example::~Example() : -> -> S1(), -> -> S2(), -> -> S3() { -> -> // if statements
namespace one { namespace two {
-> static const class Example :
-> -> Int1, Int2, Int3
-> {
-> public:
-> Example::~Example() :
-> -> S1(),
-> -> S2(),
-> -> S3() {
-> -> // if statements with empty braces
-> -> if ( x )
-> -> {
-> -> }
-> -> }
-> }
-> }
} } //namespace one::two
由Uncrustify处理为(“+”=空格)
它总是在制表符缩进后添加空格(“+”)。
我在哪里可以配置这个
最好的,
本我自己找到了原因 Uncrustify不能处理这个问题
namespace one { namespace two {
如果两者定义在同一行上,则正确。当我把它改成
namespace one {
namespace two {
然后它工作正常,没有插入空间
namespace one {
namespace two {