User forums > Using Code::Blocks

Initialization list indentation with AStyle plugin

(1/1)

matrem:
Hello,

I can't correctly configure indentation of c++ initialization list. (codeblocks 8.02 under ubuntu).

I wan't something that looks like this :

--- Code: ---C::C()
: v()
{
}
--- End code ---

But I always have this

--- Code: ---C::C()
          : v()
{
}
--- End code ---

Is there an indentation configuration that permits to have the first example ?

Navigation

[0] Message Index

Go to full version