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

Refactoring failed when 2 Projects open with same function name in header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.12.0
    • Fix Version/s: None
    • Component/s: C++ Refactoring, Editors
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      1.) Create two new Widget appications e.g. "untitledA" and "untitledB" (see Picture 1)

      2.) In second project create in h & cpp function named "myFunction"

      3.) Go to first project ""untitledA" and add the function ONLY in header file and try

      to use refactoring to add it into the cpp file. This option is not shown anymore, see Picture 2)

       

      Picture 1)

       

      Picture 2)

        Attachments

        1. Refactoring1.PNG
          Refactoring1.PNG
          36 kB
        2. Refactoring2.PNG
          Refactoring2.PNG
          60 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            bubke Marco Bubke
            Reporter:
            happycodernext happycodernext
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes