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

Nikos Chantziaras realnc at gmail.com
Wed Jun 29 05:26:24 CEST 2022


On 28/06/2022 12:06, Christian Kandeler 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.

How are you supposed to deal with lines you didn't edit changing and 
have no place in a git commit? It's impossible to work on code that's 
under version control.



More information about the Qt-creator mailing list