Version: gideon cvs kdevelop20030727 (using KDE KDE 3.1.1a) Installed from: Unspecified Linux Compiler: gcc 3.2 OS: Linux The source code reformat does not align the c++ preprocessor declarations on the left properly. For example the following declarations : #include <iostream> . #include <vector> will not be aligned on the left like this after a source reformat : #include <iostream> #include <vector> The user must do it by hand. (I have seen this with the all the indentation modes : ansi, linux, gnu, java ...)
Is this a bug? From what I can tell #include <a> #include <b> is legal, and there may well be a reason the programmer did it like that. Unconfirming bug and hoping for enlightened input. :)
Of course it is legal. It is just ugly.
Hehe. I didn't know the bugsystem stripped leading spaces.. my example wasn't very telling.. :) Well.. if everyone is in agreement about this being legal, and it is obvious that at times indented preprocessor directives have their use (nested directives), then this is not a bug and shouldn't be reported as such. I'm closing it. File a wishlist bug if you want, but I doubt the behaviour will be changed.