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

Riitta-Leena Miettinen Riitta-Leena.Miettinen at qt.io
Tue Jun 28 12:59:45 CEST 2022

Hello Nicolas,

I’ve tried to explain the current behavior in the Qt Creator Manual 8.0 snapshot here: https://doc-snapshots.qt.io/qtcreator-8.0/creator-indenting-code.html#automatic-formatting-and-indentation

Could you read the instructions and let me know whether they are helpful and correctly describe the current behavior? Or give me some pointers about what I should change.



Leena Miettinen

Sr. Documentation Engineer

The Qt Company
Erich-Thilo-Str. 10 12489
Berlin, Germany

riitta-leena.miettinen at qt.io<mailto:firstname.lastname at qt.io>


Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
[cid:image001.png at 01D88AEE.EEEF4F60]<https://www.qt.io/>
[cid:image002.png at 01D88AEE.EEEF4F60]<https://www.facebook.com/qt/>
[cid:image003.png at 01D88AEE.EEEF4F60]<https://twitter.com/qtproject>
[cid:image004.png at 01D88AEE.EEEF4F60]<https://www.linkedin.com/company/the-qt-company/>
[cid:image005.png at 01D88AEE.EEEF4F60]<https://www.youtube.com/QtStudios>

From: Christian Kandeler<mailto:christian.kandeler at qt.io>
Sent: Tuesday, June 28, 2022 12:53
To: qt-creator at qt-project.org<mailto:qt-creator at qt-project.org>
Subject: Re: [Qt-creator] The state of the clang-format plugin

On 6/28/22 12:43, Nicolas Ulrich wrote:
> I just wanted to comment that I use "format instead of indenting"
> (still works, but I cannot turn it off anymore I guess)

It can still be turned off, by selecting "indent only" in the combo box.

> 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.

I'm confused now. What is that special shortcut?


Qt-creator mailing list
Qt-creator at qt-project.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: B57D904DB7934B02A0C89120F6CF559A.png
Type: image/png
Size: 6489 bytes
Desc: B57D904DB7934B02A0C89120F6CF559A.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9BF5B06C7A2D4AC7BE62D310DCD68CD2.png
Type: image/png
Size: 695 bytes
Desc: 9BF5B06C7A2D4AC7BE62D310DCD68CD2.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: C6C2EFB47A2645D38C8192D19C9333E1.png
Type: image/png
Size: 873 bytes
Desc: C6C2EFB47A2645D38C8192D19C9333E1.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BD86E4BABA024C63998F3DAB23739924.png
Type: image/png
Size: 761 bytes
Desc: BD86E4BABA024C63998F3DAB23739924.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6A46D48AB82B4C229E03844DB5DA1E01.png
Type: image/png
Size: 732 bytes
Desc: 6A46D48AB82B4C229E03844DB5DA1E01.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20220628/671a6537/attachment-0009.png>

More information about the Qt-creator mailing list