Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
Qt Creator 3.6.0, Qt Creator 4.0.0-beta1
-
None
-
Qt 5.6.0 for Windows 32-bit (MinGW 4.9.2, 1.0 GB) , Windows 7,
Description
I want #include a header file name in a .cpp file, so i do as follow:
1. I select a .h file in the left project treeview.
2. I use F2 shortcut to active the .h file to let it be in edit status.
3. I copy the .h file name.
4. I click the mouse to the .cpp file and paste the .h file name.
when i do this, there is a messbox show:
---------------------------
Cannot Rename File
---------------------------
The file XXXX.h could not be renamed XXXX.h.
---------------------------
OK
---------------------------
I didn't rename the file name, i just want copy the file name, so please don't show me the messagebox when the filename didn't change.
Thanks!
Attachments
For Gerrit Dashboard: QTCREATORBUG-15963 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
154185,3 | ProjectExplorer: Do not needlessly try to rename files | 4.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |