can clang-formatter add an option of SortIncludes?
Posted: Thu Feb 17, 2022 9:47 am
when i coding windows program,the auto sort will sort the headers like this
#include <comdlg32.h>//1
#include <windows.h>//2
this is wrong because the windows.h must be put at first,comdlg32 require some define in windows.h.
and now ,i export a .clang-format file and put SortIncludes: false in this file,
i hope this feature can be chosed in the list