Eclipse c-formatter |在函数头中保留arg type和arg name之间的空格
我想将eclipse格式化程序配置为在函数声明中保留参数类型和参数名称之间的空白。有人知道这种配置是否可行吗 我想要什么Eclipse c-formatter |在函数头中保留arg type和arg name之间的空格,c,eclipse,eclipse-cdt,formatter,C,Eclipse,Eclipse Cdt,Formatter,我想将eclipse格式化程序配置为在函数声明中保留参数类型和参数名称之间的空白。有人知道这种配置是否可行吗 我想要什么 int testfunc ( int a, // testomato bool_t b, // testomato sometype_t blubb ); // testomato int testfunc ( int a, // testomato
int testfunc ( int a, // testomato
bool_t b, // testomato
sometype_t blubb ); // testomato
int testfunc ( int a, // testomato
bool_t b, // testomato
sometype_t blubb ); // testomato
我得到的
int testfunc ( int a, // testomato
bool_t b, // testomato
sometype_t blubb ); // testomato
int testfunc ( int a, // testomato
bool_t b, // testomato
sometype_t blubb ); // testomato
一些问题
- 对于EclipseCDT版本来说,像在EclipseJDT中一样“在列中对齐字段”的选项也是非常有趣的
- eclipse插件columns4eclipse可能是一个解决方案,但它不适用于实际的eclipse版本