bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-indent] -bfda option


From: Kim Saunders
Subject: [Bug-indent] -bfda option
Date: 16 Jul 2002 11:53:36 +1200

Hi,

I have a query as to whether I can get indent to implement a style I'm
fond of.

Basicall, when it comes to function calls that don't fit on a line -bfda
formats the calls like so:

void foo(int arg1,
         char arg2,
         int *arg3,
         long arg4,
         char arg5);

Whereas I'd like them to be formated like this:

void foo(
    int arg1,
    char arg2,
    int *arg3,
    long arg4,
    char arg5
);

Same goes for function delcrarations whith multiple lines of arguments.
I'd greatly appreciate any advice as the whether indent can do this,
and/or how to do it.

Of course, the obligatory thanks - the indent program is invaluable.

Thanks,

KimS





reply via email to

[Prev in Thread] Current Thread [Next in Thread]