KDevelop automatically inserts a space after # in #include <file.h>
I just want to include the C ++ header file in KDevelop by writing
#include <file.h>
However, KDevelop automatically adjusts the above expression to
# include <file.h>
I was not able to figure out where I can change this. I want the first version, so my files are like other files in the project I'm working on.
The file type is set correctly as a C ++ file. I think the reason for the extra space is that KDevelop wants to backtrack from the line because it is inside the conditional, i.e. included defender, as follows:
#ifndef THIS_FILE_H
#define THIS_FILE_H
// THIS_FILE_H
#endif
KDevelop also wants to back out of line #define THIS_FILE_H.
, → KDevelop, Source Formatter . , , #include #define include.
+4
2