[Uml-devel] [Bug 61375] Adding the Posibility to use/or not linebreaks before open brakets in C++

Gavin C.Flower GavinFlower at yahoo.com
Tue Aug 2 23:47:16 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=61375         




------- Additional Comments From GavinFlower yahoo com  2005-08-03 02:31 -------
public class Agent 
    extends Human
    implements Employee,
               Insured,
               CompanyRepresentative
{
    ...
    public getOpenJobs(Date pAfterDate )
        throws IOException,
               SQLException
    {
        ...
    }
    ...
}


I would options to control formatting to allow the above style:

A - align brackets on left hand side consistently

B - indent extends

C - indent implements

D - indent subsequent interfaces in line with first one

E - indent throws

F - indent subsequent exceptions in line with first one

G - force if/else blocks to be enclosed in brackets

H - add blank line between methods 
    (excluding the one before the closing bracket of the class)

I - add prefix to generated parameters (eg pAfterDate)




More information about the umbrello-devel mailing list