Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25177

Slow code completion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.14.0
    • C/C++/Obj-C++ Support
    • None
    • macOS

    Description

      On big projects with large files (eg. cppquickfixes.cpp in the qt-creator project), the code completion is pretty slow. It needs 3-4 seconds to display something. I have disabled the "analyse current document" option, cpp-check and Clang-Code-Model -> Diagnostic config to no warnings, but also then the clangbackend process goes up to 100% cpu for 3-4 seconds. (If I don't change the file and call the code completion a second time it is ok fast (ca 600ms)).

      I don't remember that I have these problems with QtCreator 4.13.x

      Attachments

        1. image-2021-01-02-02-32-43-486.png
          377 kB
          autoantwort
        2. image-2021-01-02-02-34-29-115.png
          408 kB
          autoantwort

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              autoantwort autoantwort
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: