Autoformatter: indentation of C structure initialization fields

We want to auto format C structure initialization fields like this:

static ExampleStruct example = {
    testA,
    NULL,
    testB
};

But the auto formatter with our current settings makes it into this:

static ExampleStruct example = {
testA,
NULL,
testB
}

We have tried numerous settings to get it working the way we want too but to no avail.

Any help would be appreciated!

0

Please sign in to leave a comment.