> On 30 Jun 2022, at 20:00, Nikos Chantziaras <rea...@gmail.com> wrote: > > On 29/06/2022 22:11, Nikos Chantziaras wrote: >> On 29/06/2022 17:33, Eike Ziller wrote: >>> At the moment you can change the setting globally to “Disable” >> Where is that setting found? Can't find it anywhere. > > You probably meant Creator 7. In 8, that option is gone and there's no way to > prevent Creator from forcing my personal coding style everywhere. > > I opened a bug about it: > > https://bugreports.qt.io/browse/QTCREATORBUG-27781 > > IMO, this is a serious show stopper as it makes Creator completely unusable > when working on projects not under your control.
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. All that said, Artem reverted to the old checkboxes yesterday, so the RC will have the checkboxes again. -- Eike Ziller Principal Software Engineer The Qt Company GmbH Erich-Thilo-Straße 10 D-12489 Berlin eike.zil...@qt.io http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator