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

Refactor won't change file name,change cpp name won't change header name

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 3.5.1
    • C/C++/Obj-C++ Support
    • None

    Description

      Refactor only change the class name,not the file name.
      Its better to change the cpp/file name ,too,at least for the file that only contain one class.
      When renaming a cpp file that contains class,it's better to ask whether want to refactor the class or only rename the cpp file name because generally there is no need to change only the cpp file name.And it's better to rename the header file name,too,because if not,F4 won't function any more-this is a bug,too-after rename a cpp file so that the cpp file's name is different than the header file,then F4 won't work,may be it is a cache sync prolem.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              wgt wgt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes