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

Regression: "Rename Symbol Under Cursor" does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 2.7.0
    • Qt Creator 2.7.0
    • Editors
    • Windows Vista 64 bit
    • 87a78cddff7a42032b9e57fde45091c91512352e

      1. Open project tests\system\suite_editors\shared\simplePlainCPP\testfiles.pro from Creator's repository.
      2. Open testfile.cpp.
      3. Right-click on
          SOME_MACRO_NAME(a)

        and select "Refactor" -> "Rename Symbol Under Cursor" from the context menu.
        The two occurrences of the macro are being display in Search Results view.

      4. Make sure that all checkboxes there are checked.
      5. Enter something different into the "Replace with." edit and click "Replace".
        Nothing seems to happen. Files are not being changed.

      Found by Squish test tst_rename_macros.

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

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes