Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
None
-
None
Description
With C+11 / C+14, auto type deduction are everywhere.
Qt Creator is able to show the type of a variable when the user hovers the mouse cursor on a variable name. Except when it is automatically deduced
In the following code sample, Qt Creator only shows the type of a, not b nor c :
int main() { int a = 42; // OK auto b = 42; // No type shown decltype(auto) c = 42; // No type shown // ... }
Suggestion : make auto type deduction work in QtCreator
- Show the type when the mouse is cursor is hovering
- Allow "Follow Symbol Under Cursor"/ Ctrl+Click to work with auto/decltype(auto) as it does with explicit types
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-11259 "Auto" variable doesn't show correct tooltip
-
- Closed
-