Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
None
Description
There should be functionality to rename source files such that after renaming the file (through a dialog perhaps) all references to the file in other source files are updated.
For example, if I have a project that includes a pair of class header/source files like:
poorlychosenname.h
poorlychosenname.cpp
And I wish to change the name of the files later, it would be nice if the references to the files would be updated as each is renamed
so:
rename poorlychosenname.h -> bettername.h
in poorlychosenname.cpp:
#include "poorlychosenname.h" -> #include "bettername.h"
in myproject.pro:
HEADERS += "poorlychosenname.h" -> HEADERS += "bettername.h"
rename poorlychosenname.cpp -> bettername.cpp
in myproject.pro:
SOURCES += "poorlychosenname.cpp" -> SOURCES += "bettername.cpp"
Attachments
Issue Links
- relates to
-
QTCREATORBUG-26 Support renaming/deleting files inside Qt Creator
- Closed