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

Nicolas Ulrich nikolaseu at gmail.com
Tue Jun 28 12:43:31 CEST 2022

Hi Christian,

I just wanted to comment that I use "format instead of indenting"
(still works, but I cannot turn it off anymore I guess) and some days
ago I realized that the option was not available anymore.

It was confusing when I tried to tell new developers (with a fresh
installation of QtCreator) and I couldn't find the option! Turns out
they just have to use the special shortcut for formatting now (if I
remember correctly). I'm still happy with Ctrl+i.


On Tue, Jun 28, 2022 at 11:07 AM Christian Kandeler
<christian.kandeler at qt.io> wrote:
> On 6/25/22 10:58, Björn Schäpers wrote:
> > in the days of yore you had 3 check marks for clang-format (still
> > visible here
> > https://doc.qt.io/qtcreator/images/qtcreator-code-style-clang-format.png).
> > * Format instead of indenting
> > * Format while typing
> > * Format edited code on file save
> >
> > Nowadays the UI is gone, and at least option 2 is gone
> > (https://codereview.qt-project.org/c/qt-creator/qt-creator/+/411513) I
> > asked on why, but no answer yet.
> I suppose the assumption was that this was not needed. If it turns out
> there are actually people using that, it can be brought back.
> Christian
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

More information about the Qt-creator mailing list