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

header include not updated on refactor rename class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 10.0.1
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      When renaming a class, the header file is renamed as well (if you select the checkbox). But then it can happen that the #include statement in the corresponding source file is not updated. It seems this only happens, if the refactoring is initiated in source file (i.e. if the refactoring is initiated in header file, then it's correct). 

      =>

      Attachments

        1. image-2023-06-15-00-13-53-311.png
          6 kB
          thecodemonkey
        2. image-2023-06-15-00-17-10-513.png
          10 kB
          thecodemonkey

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              thecodemonkey thecodemonkey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes