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).

It's definitely in our plans. We've already discussed how we can support 
different ways of configuring tidy (with file and with ui options).
Making separate tool for tidy/clazy (to run them like static analyzer on the 
whole project) is also in plans but we have to solve some technical things on 
the way to it.

Regards,
Ivan

________________________________
From: Qt-creator <qt-creator-bounces+ivan.donchevskii=qt...@qt-project.org> on 
behalf of Guenter Schwann <guenterli...@schwann.at>
Sent: Wednesday, February 14, 2018 2:00 PM
To: qt-creator@qt-project.org
Subject: Re: [Qt-creator] clangbackend slow code completion

On Mittwoch, 14. Februar 2018 13:47:51 CET Konstantin Tokarev wrote:
> 14.02.2018, 03:04, "Steve Atkins" <st...@blighty.com>:
> >>  On Feb 13, 2018, at 4:00 PM, Nikos Chantziaras <rea...@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

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to