Version: 1.4.92 (using KDE 3.4.92 (beta2, >= 20051010) Level "a" , SUSE 10.0 UNSUPPORTED) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.13-15-default Line length of predefined headings shouldn't be higher than 80 characters (for better/easier view/edit in console-/terminal-programms like vi, emacs). Currently to long line (ca. at line 20): directory. If you name the file something else, it must be the only one with that is longer than 80 chars (84), please reduce it to 80. I know that I could change it manually by myself as root in the opt/kde3/share/app/umbrello/-folder, but to change it per default in umbrello source code is the best solution. Off topic: Maybe there could be an global option to adjust the line length of the created source code files. Best regards Thomas
I think a better solution is to simply provide access to a code formatter as a hook, similar to git pre-commit hook. Umbrello should only focus on generating code that can be compiled, and outsource the job of correct formatting to external dedicated tool such as uncrustify.
A tab could be added to the code generator options dialog with post-processing option. This could contain an input field and a browse button to specify an external script which is called after the code export and receives the generated files via standard input.