Indent class functions after public/private


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 {


          void myMethod();

          void myMethod2();


          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. 

1 comment

Please use the following indent settings:

Does that help?


Please sign in to leave a comment.