indentation feature request

"Kritchevsky, Robert" <[email protected]> Tue, 10 Jul 2012 12:01:19 -0700
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
Greetings.

What a great tool is indent.exe.
Thanks so much for creating and maintaining it.


There are so many options that I suppose it likely I failed to find the correct combination but just in case it really can't be configured to do this, here is the format I would like to impose.

Notice that the braces of the function are actually indented as well as the braces following each if, for, etc.


void foo( void )
    {
    if ( something happened )
        {
        DoThis();
        }
    }


Thanks a lot!

Robert Kritchevsky
Voice:  858.762.5309