Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13220

CodeModel: Renaming class does not rename occurrences inside macros

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.3.0-beta1, Qt Creator 3.3.0
    • C/C++/Obj-C++ Support
    • 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

          Activity

            People

              kosjar Nikolai Kosjar
              cstenger Christian Stenger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: