[Qt-creator] indent preprocessor directives

qt.dantec at free.fr qt.dantec at free.fr
Tue May 8 22:22:57 CEST 2012


On Fri, 20 Apr 2012 16:44:30 +0200, Erik Verbruggen
<erik.verbruggen at me.com>  wrote:

>Is there a way to tell QtCreator to indent directives appropriately?

There is no such thing as an "appropriate" way to indent directives :
It is sometimes a matter of style or context, but more importantly,
for many projects, it is defined in the project's guidelines for
developers.

As a consequence, there is one and one only good solution for Creator
: Let developers pick what they prefer, or whatever it is that they
are ordered to do.

Ideally, let developers define their preferences, within the C++ code
style options, on a project per project basis.

Quentin



More information about the Qt-creator mailing list