[Qt-creator] Clang-Tidy Integration Decision (4.10 & 4.12 usability)

Marco Bubke marco.bubke at qt.io
Wed Mar 25 16:36:28 CET 2020


Hi Michael

There is already a bug report: 
https://bugreports.qt.io/browse/QTCREATORBUG-23349

So there is in my opinion no need to start a email thread too. ;-)

Best, Marco

On 25/03/2020 16:28, Michael Jackson wrote:
> Back in the QtCreator 4.10 days there was "automatic" clang-tidy/clazy integration. The downside was that opening a source file would cause a lag (sometimes long depending on the age of the computer) to get the method/function list and code navigation to show up. The upside is that the annotations were marked in the editor along the right side and also in the scroll well area. They were easy to see with the human eye and hard to miss. BUT QtCreator 4.10 had a big bad issue on macOS Catalina with the latest Xcode, debugging  caused the CPU to burn 100% even when sitting at a break point.
> 
> Then we jumped to QtCreator 4.12 RC/Beta and now the debugging issue is solved BUT now clang-tidy doesn't run automatically anymore. When I searched out how to get it to run I have to run it manually (ok, maybe a fair trade off) but the annotations are effectively "hidden" now down the left side of the editor marked by a little triangle icon. There doesn't seem to be a way to go back to old style of putting them on the rig


More information about the Qt-creator mailing list