简体   繁体   中英

uncrustify C++: Transform multiple variable initialization per line posible?

is it possible by using uncrustify to transform this:

int a, b, c, d=0;

to this :

int a;
int b;
int c;
int d=0;

Thanx

No, this is not one of the options .

Such a thing would be more of a refactoring, than a simple tweak to spacing (which is mostly what this tool does).

There's no open feature request for this at present, either; feel free to create one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM