User forums > Using Code::Blocks
Whitesmith indent settings
(1/1)
UnderDriven:
Hello. I'm new to CodeBlocks and I want to set up the editor for Whitesmith indenting (which demonstrates how long I've been writing code). I've set this up on various editors/compilers in the past, but I've been fooling around with the CodeBlocks indenting options for way too long and I can't force the braces to be indented. Can anyone tell me the options for indenting braces like this:
if (x)
{
y();
}
...or at least a document which explains what the various indenting options are supposed to do? Thanks...
mijewen:
I've only been using C::B for a short while, so don't put too much store in what I say (I'm using win XP) , but click
Settings / Editor, then down the left of screen, click the Source Formatter. There are various styles in there, and a custom one, though I haven't figured out how to make it work. Please let me know if you do.
I also found the Keyboard shortcuts very useful (a bit further down the left of screen)
Navigation
[0] Message Index
Go to full version