Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
None
Description
Users do not know about the dual code model in Qt Creator, "fast and wrong" versus "slow and correct (+ features like warnings and annotations)".
Otherwise many issues with the clang code model (especially on Windows) are fixed now.
The "slow" part of the clang code model should actually be easy to detect automatically (even if how "slow" is "too slow" might not be so clear).
A good compromise could be to enable the clang code model by default, but show an info bar (including "do not show again") in an editor if we detect that it is "too slow". In the sense of "Code completion seems to be slow, you might want to try switching to the faster but imprecise built-in code model if that is an issue.". We also have the "details" functionality where we can be more detailed.
Attachments
For Gerrit Dashboard: QTCREATORBUG-19297 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
223125,3 | Enable Clang code model by default | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
223528,6 | Clang: Measure parse and reparse duration | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
416982,8 | ClangCodeModel: Check system for clangd suitability on first run | 8.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |