Organize Includes¶
This feature is similar to the one known form Eclipse JDT called Organize Imports. Its task is to find includes that should be added and/or includes that can be removed from a given file.
Example¶
/* main.cpp */
#include "Y.h"
#include "Z.h
int main() {
Y y;
X x;
return 0;
}
/* X.h */
class X { };
/* Y.h */
class Y { };
/* Z.h */
class Z { };
Here, the Includator makes the proposal to to include file X.h and to remove the include of Z.h.