是否有格式化结构表的库?
类似于:
struct a {
char *s;
int c;
int b;
} sample[] = {
{"this is a test", 1, 4},
{"this",3,56544}
};
So the reformatting would be :
} sample[] = {
{"this is a test", 1, 4},
{"this" , 3, 56544}
};发布于 2015-01-21 22:00:59
设置一个区域,该区域包含sample[]数组中的所有值,然后C-u M-x align该区域。
https://stackoverflow.com/questions/28077196
复制相似问题