Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
None
-
0fa349237d (qt-creator/qt-creator/8.0) 0fa349237d (qt-creator/qt-creator/master) 0fa349237d (qt-creator/tqtc-qt-creator/8.0)
Description
C++ code completion suggests obsoleted members for Qt classes, and there is no warning of any kind. This easily leads to using obsoleted APIs.
Code completion should not suggest obsoleted members at all, or at least it should mark obsolete members in the code completion popup clearly and put them last in the list. Additionally syntax highlighting could highlight using obsolete APIs with a warning underline, similar to syntax errors and unused local variables.
I'm reporting this as a bug instead of a suggestion, because when the principal IDE for Qt guides programmers to use obsolete Qt features, it qualifies as a bug in my opinion.
Attachments
Issue Links
- depends on
-
QTCREATORBUG-26480 Make code model icon combination more generic
-
- Reported
-
- relates to
-
QTCREATORBUG-203 Different style for static functions in completion popup
-
- Open
-