Issues with Code Style

I would want to know if there is any way to apply the following code styles when refactoring.

class Test {
public:
int a;
       Test();
}

And in case there are variables outside of access modifiers refactor into:

class Test {
int b;
public:
int a;
Test();
}

(Or maybe 2 spaces for access modifiers and 6 for member variables)
And also idk if it is on topic, but i'd like a way to change code generation of default constructor with parameters for list initializer with braces, not with parentheses since it is the recommended way since C++11

0

Please sign in to leave a comment.