I place doxygen comments after member names in classes:
- Code: Select all
private:
SomeClass *aclass; //!< a class
int some int; //!< an int
after auto formatting I get:
- Code: Select all
private:
SomeClass *aclass; //!< a class
int some int; //!< an int
but would like the comment to remain untouched.
I also indent my macros
- Code: Select all
#ifdef X
#define Y
#else
#define Z
#endif
but builder always reformats to
- Code: Select all
#ifdef X
#define Y
#else
#define Z
#endif
and finally I format my classes and case statements such that there are three levels of indentation:
- Code: Select all
class x
{
public:
int y;
private:
int z;
}
switch( x )
{
case 1:
dosomething();
break;
case 2:
dosomethingelse();
break;
}
and builder reformats this to (if indent case labels is set to none)
- Code: Select all
class x
{
public:
int y;
private:
int z;
}
switch( x )
{
case 1:
dosomething();
break;
case 2:
dosomethingelse();
break;
}
and builder reformats this to (if indent case labels is set to decrease one indent)
- Code: Select all
class x
{
public:
int y;
private:
int z;
}
switch( x )
{
case 1:
dosomething();
break;
case 2:
dosomethingelse();
break;
}
Is there anyway to keep my formatting?
Thanks,
Gregor
