Getting Style

David Nolden zwabel at googlemail.com
Fri Apr 20 19:13:57 UTC 2012


Actually I voted for 2-style indentation, but actually I can also live
with 4-space indentation (without tabs, those are simply broken).

However, I don't like kdelibs style, we should find some compromise
which is close to what we use now, just consistent. I think
format.config.uncrustify.4_spaces should come pretty close.

Why did you write a new uncrustify formatting script for the hook, and
didn't simply use kdev_format_sources.sh? It's kdevelop-independent,
and it will be needed, because we need fine-grained rules. For
example, we won't enforce our style on code which we just copied in,
like astyle.

Greetings, David




More information about the KDevelop-devel mailing list