Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 8.0.1
-
None
-
-
0f7a539262 (qt-creator/qt-creator/master) 0f7a539262 (qt-creator/qt-creator/9.0)
Description
It hurts me much that the current Qt Creator 8 uses "auto" variable type when using "Assign to Local Variable" function. Before, it was using the actual type that the variable had.
The previous behavior had a great value added in comparison with the current behavior:
- Immediately after using the "Assign to Local Variable", I knew that I was getting what I wanted.
- If I was using some new Qt function, I saw what I got from it.
- When the variable is labelled with the actual type, I can click on it and press F1 to get help for it quickly.
Personally, I don't use "auto" type in my code because I think that labelling the variables with proper type makes the code maintenance much easier.
Is the previous behavior gone, or is there some option to get it back?
Attachments
For Gerrit Dashboard: QTCREATORBUG-28099 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
433664,3 | CppEditor: Let user decide whether to use "auto" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |