|
|
同时我还使用-br -ce选项,格式化后是这样的
If you are using the `-br' option, you probably want to also use the
`-ce' option. This causes the else in an if-then-else construct to
cuddle up to the immediately preceding `}'. For example, with `-br
-ce' you get the following:
if (x > 0) {
x--;
} else {
fprintf (stderr, "...something wrong?\n");
}
x--和fprintf前有2个空格,它没显示出来
我想使格式化后缩进是4个空格,怎么弄? |
|