[Qt-creator] Custom clang-format binary in 4.9
Ivan Donchevskii
ivan.donchevskii at qt.io
Thu Apr 4 09:22:19 CEST 2019
Hi,
Currently libformat is statically linked into the ClangFormat plugin because we require a custom patch for it.
In theory we can make our stuff work through the clang-format binary like it's done in Beautifier but the indentation won't work properly with different binary (for example the system one) and may cause even more confusion. So it does not worth the effort for now.
If we are somehow able to upstream our patch (for example to be a part of some different executable like clang-format-ide or whatever) then the solution with the binary may become more relevant.
Ivan
-----Original Message-----
From: Qt-creator <qt-creator-bounces at qt-project.org> On Behalf Of Julius Bullinger
Sent: Thursday, April 4, 2019 9:07 AM
To: qt-creator at qt-project.org
Subject: [Qt-creator] Custom clang-format binary in 4.9
Hi there,
with the new ClangFormat plugin in 4.9, is there any way to set a custom clang-format binary? If not, is it planned to implement that?
I know the old beautifier plugin still exists which can use a custom binary, but this one doesn't use the projects' .clang-format file.
Regards,
Julius
_______________________________________________
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