Hi,

the ClangFormat plugin needs a bit more direct access to ClangFormat's 
features, which is why it builds against the ClangFormat library and uses that 
directly.
Unfortunatly that also means that you do not get a choice of the ClangFormat 
version.

The Beautifier plugin that supports various formatting tools also supports 
ClangFormat, and uses a configurable executable, but only "format on save" and 
manual formatting.

Br, Eike

> Am 08.10.2024 um 16:05 schrieb Andrzej Telszewski <andr...@telszewski.com>:
> 
> Hello,
> 
> how can I select custom _clang-format_ binary for Code Style, for a 
> particular project?
> I mean the one that is used for formatting _as you type_, not for e.g. manual 
> formatting.
> 
> Thanks!
> 
> --
> Best regards,
> Andrzej Telszewski
> 
> -- 
> Qt-creator mailing list
> Qt-creator@qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Str. 10
12489 Berlin, Germany
eike.zil...@qt.io
https://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

Reply via email to