Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.3.0-beta1, Qt Creator 3.3.0
-
Ubuntu 12.04 32bit, Qt Creator 3.3 beta snapshot based on Qt5.4
Description
Steps to reproduce:
- open / create a Qt Unit test (or any auto test of QC's sources)
- make sure the test contains one of the macros QTEST_APPLESS_MAIN, QTEST_GUILESS_MAIN, QTEST_MAIN
- place the cursor at the class definition and invoke 'Rename Symbol Under Cursor'
- give it a new name and hit <Return>
Current result:
- all occurrences are renamed, except the occurrence inside the macro
Expected result:
- the occurrence inside the macro is renamed as well
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-11326 Refactoring of a class name misses some macros (Q_DISABLE_COPY, Q_DECLARE_METATYPE)
- Open