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

Can not perform Rename refactor because '_new' is auto appended to search item

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Hi there,

       

      When I perform a rename refactor action, a '_new' string is automatically appended to the search item, so I can't rename anything anymore.

      When the cursor locate at the `getFoo`, and press Ctrl+Shift+R, which performs a rename action. In the Search and Replace dialog, the search item become `getFoo_new`, and the default replace item also `getFoo_new`, so there is no match content can be rename. 

      // Some comments here
      int getFoo()
      {
          return foo;
      }
      

       

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              imyhxy Jack Matt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: