plugins/clang-format: switch to IdeFormatter
Fix #2032 (closed)
Switches from BufferAddin to IdeFormatter.
Formats files based on the .clang-format
which is closest
of the source file. If file resides in subprojects/
and the
subproject does not contain a .clang-format file
, the file
will not be formatted.