Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.14.0-beta2
-
None
-
-
89ad72c78958bd3706ce9ca6461cec8487bb1441 (qt-creator/qt-creator/master)
Description
When using the "Extract constant as parameter", it adds a variable "newParameter" to the functions parameter list.
To give this variable a proper name, you now have to press Ctrl+Shift+R to rename all occurrences.
I think it would be useful to enter this mode already after selecting the quickfix, i.e. not requiring to press Ctrl+Shift+R, as "newParameter" is always never wanted.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-25103 Allow extracting a constant as local const variable or enum
- Closed
- resulted from
-
QTCREATORBUG-9617 Refactoring: Extract constant in function body to function parameter and adapt function uses
- Closed