[Qt-creator] clangbackend slow code completion
annulen at yandex.ru
Wed Feb 14 13:47:51 CET 2018
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
>> 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?
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
> Qt-creator mailing list
> Qt-creator at qt-project.org
More information about the Qt-creator