[Qt-creator] code style politic question

Yi Ding yi.s.ding at gmail.com
Wed Jun 6 03:20:11 CEST 2012


On Tue, Jun 5, 2012 at 6:52 PM, Cristian Tibirna <tibirna at kde.org> wrote:
>
> Hello
>
> I know what follows carries heavy flamewar potential and PLEASE don't let
> yourself drawn into it. It is not at all my intention.
>
> My question: if I commit additions to code style configuration dialogs to
> allow for changing the politics of relation between type and modifier in
> method signatures, will they be accepted?
>
> What I would add is (configurable) possibility of formatting (when generating
> class files of adding method definitions) this style
>
> void foo::bar(int& baz);
>
> as opposed to the default
>
> void foo::bar(int &baz);
>
> Thanks for advising.
>
> --
> Cristian Tibirna
> KDE developer .. tibirna at kde.org .. http://www.kde.org
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

I can't speak for the opinions of the developers, but I would
personally find such a feature quite useful.  Different projects have
different coding standards, so it would be nice to have something like
this configurable on a per project basis.



More information about the Qt-creator mailing list