[Qt-creator] The state of the clang-format plugin

Nikos Chantziaras realnc at gmail.com
Fri Jul 1 15:11:45 CEST 2022

On 01/07/2022 10:17, Eike Ziller wrote:
> I’m confused. I’m talking about Qt Creator 8.
> The default setting for the ClangFormat plugin is “Indenting Only”. Which does not format on save at all.
> The setting is (like in Qt Creator 7 unfortunately a bit hidden and that should be changed) in Preferences > C++ > Code Style > Edit.
> The options for “Formatting mode” are “Indenting Only” (the default), “Full Formatting”, and “Disable”. The only option there that “formats on save” is “Full Formatting”, if you do not want that, switch to e.g. “Disable”, save, switch back on.

Well, I save and build all the time, so that just doesn't work for me. I 
thought you meant "set the format on save setting to disable", which I 
couldn't find.

> All that said, Artem reverted to the old checkboxes yesterday, so the RC will have the checkboxes again.

Thank you!

More information about the Qt-creator mailing list