[Qt-creator] indent preprocessor directives

Konstantin Tokarev annulen at yandex.ru
Sat May 5 14:08:15 CEST 2012



05.05.2012, 11:32, "Nikos Chantziaras" <realnc at gmail.com>:
> Uhm, please read the thread.  There is no problem with indenting
> preprocessor directives.  *All* preprocessors will accept this since
> ANSI-C demands it.
>
> I wonder where this myth that you can't indent originated from.  It
> seems to be quite popular :-/

+1

IMO, sticking # and preprocessor directive name and using whole
thing as single token actually makes code more readable. I'd like
to have a possibility to indent all directives these way, irrespectively
to OpenMP use case.


-- 
Regards,
Konstantin



More information about the Qt-creator mailing list