Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.0.0, Qt Creator 3.4.0, Qt Creator 3.5.1, Qt Creator 3.6.0
-
None
Description
"auto" variable doesn't show correct tooltip in text editor.
Example code:
#include <QString> int main() { QString str1; auto str2 = str1; str2.append("a"); return 1; }
If you move your mouse on str1 - you will see correct tooltip that this variable is QString, but if you move mouse on str2 then you won't see this and only see tooltip message with the name of variable("str2"), like it some template variable.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-9800 Tooltip showing variable type doesn't work with auto
- Closed
-
QTCREATORBUG-13794 c++11 auto type deduction
- Closed
-
QTCREATORBUG-17526 Support deduction of auto variables on mouse-over
- Closed
- relates to
-
QTCREATORBUG-19802 "Follow symbol under cursor" support for autos
- Closed
-
QTCREATORBUG-19101 Follow symbol under cursor does not work with "auto"
- Closed
-
QTCREATORBUG-17191 Make it possible to follow the 'auto' keyword
- Closed