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

Clang: Autocompletion doesn't seem to be cached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Archlinux 64bit, cmake, c++14

    Description

      When using QtCreator in tempalte heavy code I noticed that the autocompletion becomes completely unusable.

      Every completions for my current project take around 7 seconds which is almost exactly the time how long my project needs to compile.

      I think that the results of libclang are not cached correctly.

      I am also a user of https://github.com/Valloric/YouCompleteMe which also uses libclang so I expect the performance to be similar.

      YouCompleteMe also takes around 7 seconds for the very fist completion, after that the completions seem to be instantly available.

      Attachments

        Activity

          People

            kosjar Nikolai Kosjar
            maikklein@googlemail.com Maik Klein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: