Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 6.0.2, Qt Creator 7.0.0-beta2
-
None
-
-
d60c8787cd (qt-creator/qt-creator/7.0) d60c8787cd (qt-creator/qt-creator/master) d60c8787cd (qt-creator/tqtc-qt-creator/7.0) d60c8787cd (qt-creator/tqtc-qt-creator/master) d60c8787cd (qt-creator/qt-creator/qds-3.3)
Description
When using the refactoring to generate a getter and setter for a private member,
- the cpp file is updated with the new methods and
- the editor is switched to show the cpp file.
However, the cursor is not positions to the generate text lines anymore, but is kept at the place where it was positioned before in the cpp file.
In large cpp file this leads to some confusion, if the new methods are actually added, if the new place is out of the current visible lines of code.
Wasn't this different with older versions of QtCreator?
I would like to have the cursor positions, where the new methods were inserted.