[Qt-creator] clangbackend slow code completion
Nikos Chantziaras
realnc at gmail.com
Wed Feb 14 01:00:29 CET 2018
If you have the "clang-tidy" checks enabled, disable them, or only use 1
or 2 of them. That feature is extremely slow.
On 14/02/18 01:33, Steve Atkins wrote:
> I'm using Creator 4.6.0-beta1 on a current generation macbook pro, and code completion is painfully slow - it'll take four or five seconds to complete anything. While it's doing so clangbackend will ramp up to 200% CPU.
>
> It's a reasonably simple project - less than 6,000 lines of code across about 60 files. The completion, and everything else connected to the code model seems to be working fine, it's just CPU intensive and slow.
>
> Is this just how the clang backend is at the moment, or should I be looking for misconfiguration or other problems?
>
> Cheers,
> Steve
>
More information about the Qt-creator
mailing list