Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 3.5.1
-
None
Description
Refactor only change the class name,not the file name.
Its better to change the cpp/file name ,too,at least for the file that only contain one class.
When renaming a cpp file that contains class,it's better to ask whether want to refactor the class or only rename the cpp file name because generally there is no need to change only the cpp file name.And it's better to rename the header file name,too,because if not,F4 won't function any more-this is a bug,too-after rename a cpp file so that the cpp file's name is different than the header file,then F4 won't work,may be it is a cache sync prolem.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-14696 Offer file renaming when refactoring class
- Closed