Indent class functions after public/private
Answered
I'm new to CLion and I'm trying to figure out how to configure the code style so I can have indentation after private: public: in my class.
For example I want to achieve such a style:
class myClass {
private:
void myMethod();
void myMethod2();
public:
void someOtherMethod();
void anotherMethod();
}
I tried looking in the Tabs and Indents section of the code style but I can't seem to replicate this.
I also notice if I go to a new line after I declared my method, the IDE jumps back a tab to align back with the public: keyword.
Please sign in to leave a comment.
Please use the following indent settings:
Does that help?