Automatic indentation-detection in Kate and KDevelop

Milian Wolff mail at milianw.de
Wed Jun 22 14:51:33 UTC 2011


On Wednesday 22 June 2011 16:35:23 Wolfgang Bangerth wrote:
> > Do you know a single project that actually adhers a common coding
> > standard (outside of business projects)? I don't. It's simply not
> > practicable. FOSS people follow their own style most of the cases.
> 
> This has nothing to do with the topic of the mail, but GNU projects are
> often quite anal about indentation etc. GCC maintainers frequently reject
> patches until indentation and formatting is brought into accordance with
> style guides.
> 
> A practical way of enforcing a particular style is to have a pre-commit
> hook in your version control system that sends the file through, for
> example, astyle before putting into the repository.

OK, there are apparently a few exceptions. I still believe that (sadly) the 
majority won't have such strict rules. Just look at KDE or KDevelop for that 
matter ;-)

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110622/8f75ea78/attachment.sig>


More information about the KDevelop-devel mailing list