Version: 1.1 (using KDE KDE 3.1.3KDE 1.2) Installed from: Compiled From Sources0Compiled From Sources OS: Linux It would be nice if the one could set if/or not umbrello code generation wizard makes a linebreak before open brakets, since many people use this style to write C++ code or using templets or so. (But nothing to hurry) But in general, great job!
Replaced drfnbee@wanadoo.fr with null@kde.org due to bounces by reporter
I would also use this in C and Java code.
I would like to suggest that we use some kind of code formater to be applyed during code generation. Users could select their settings and Umbrello will use this to generate code. I guess it'll be a more complete solution for this kind of issue. On 2 Aug 2005 09:16:21 -0000, Gavin C. Flower <GavinFlower@yahoo.com> wrote: [bugs.kde.org quoted mail]
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)