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

CodeModel: Renaming class does not rename occurrences inside macros

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated 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

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes