[Qt-creator] clangbackend slow code completion

Guenter Schwann guenterlists at schwann.at
Wed Feb 14 14:00:53 CET 2018


On Mittwoch, 14. Februar 2018 13:47:51 CET Konstantin Tokarev wrote:
> 14.02.2018, 03:04, "Steve Atkins" <steve at blighty.com>:
> >>  On Feb 13, 2018, at 4:00 PM, Nikos Chantziaras <realnc at gmail.com> wrote:
> >> 
> >>  If you have the "clang-tidy" checks enabled, disable them, or only use 1
> >> or 2 of them. That feature is extremely slow.> 
> > That fixes it, thanks. Bit of a shame, as they were rather a nice feature.
> 
> There are 2 approaches to this problem:
> * use faster CPU
> * make clang-tidy itself faster

Or
* run clang-tidy/clazy "outside" of the code-model in a separate step in 
QtCreator?
* run clang-tidy/clazy only when triggered (menu entry - like the for example 
the clang power tools in VS)

Btw. - it would be nice if the QtCreator clang-tidy plugin would (optionally) 
make use of a .clang-tidy config file (to share it with clang power tools for 
example).

Regards
Guenter




More information about the Qt-creator mailing list