Let's end the formatting mess

David Nolden david.nolden.kdevelop at art-master.de
Wed Nov 9 20:01:33 UTC 2011


There is some code which certainly does need reformatting, I've
verified that in many different places right now. There are evel files
where basically _all_ common coding-style rules are mixed
(tabs/spaces, indentation-depth, spaces within function-call parens,
etc. etc.). You can be sure that, once even more different developers
have touched sublime etc., that code will suffer from the same problem
too.

The good thing is that, when we define clear mandatory uncrustify
configurations for specific portions of the code, we won't have these
problems in future anymore. How much of the current codebase should
instantly be reformatted is a different question. Once the "perfect"
configuration is found, I will definitely reformat the code which I'm
the maintainer of, because I know that I never cared too much about
formatting, and the formatting is simply messy. I always thought that
this is work for a computer, not for a human. ;-)




More information about the KDevelop-devel mailing list