I'm using version 17.12 of C::B, which I believe is the most current version and I am having trouble formatting my brackets.
Code written in the GNU bracket style is supposed to look like this:
int Foo(bool isBar)
{
if (isBar)
{
bar();
return 1;
}
else
return 0;
}
But instead, my code auto-formats to this:
int Foo(bool isBar)
{
if (isBar)
{
bar();
return 1;
}
else
return 0;
}
I've tried tweaking dozens of settings in the Configure Editor menu and the Source Formatter, but can't figure out how to get this to work.