0
我的源代碼如何刪除Ucrustify的「標籤選項卡空間」中的空格 - 縮進?
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加工成( 「+」= SPACE)
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
它總是添加TAB壓痕後的空間( 「+」)。
我在哪裏可以配置?
最佳, 本