On 10/10/25 12:53 AM, Thiago Macieira wrote:
On Tuesday, 7 October 2025 21:57:57 Pacific Daylight Time Tim
Blechmann via Development wrote:
I'm not sure I understand the second. More importantly, though: does
Qt Creator have a setting for that? If so, what it is? If not, then
DOA.
when using the "built in formatter" instead of the clang-format
formatter, lambda bodies are indented at the outer scope as well.
there is no option in the built-in formatter to disable, it (the
clang-format formatter would use the clang-format file when present
or can be configured with a everything that clang-format supports)
I don't use clang-format and will not start doing so. I will only obey
indentation that the Qt Creator default formatter can do.
1) Note that there is no built-in formatter, only an indenter.
2) Indenting via clang-format has been the default for a while and is
recommended for modern C++ code bases. Are you sure you are using the
built-in one?
Christian
--
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development