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

"Rename Symbol Under Cursor" doesn't rename default constructor

    XMLWordPrintable

Details

    • Linux/X11
    • 8662470aba (qt-creator/qt-creator/master) 8662470aba (qt-creator/qt-creator/qds/dev)

    Description

      Steps to reproduce:

      1) move the cursor inside MyApp() in myapp.h
      2) press Ctrl+Shift+R
      3) type "MyNewApp"
      4) press Enter

      Actual behavior:

      myapp.h

      class MyNewApp
      {
      public:
        MyNewApp();
      };
      
      

      myapp.cpp

      #include "myapp.h"
      
      MyApp::MyApp() = default;
      

      Expected behavior:
      myapp.h

      class MyNewApp
      {
      public:
        MyNewApp();
      };
      
      

      myapp.cpp

      #include "myapp.h"
      
      MyNewApp::MyNewApp() = default;
      

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            wojnilowicz wojnilowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes