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

Renaming a overloaded function should rename only the function with the same signature

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • Qt Creator 2.6.0-beta, Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support

    Description

      ...or ask at least if it's ok to rename all occurences.

      Steps to reproduce:

      • open tests/manual/cplusplus-tools/cplusplus-tools.pro
      • open source.cpp, place cursor onto one of the freefunc2() functions
      • invoke Rename Symbol Under Cursor

      Expected behaviour:

      • Creator should only rename functions with exactly the same signature
        OR
      • Creator should ask if renaming should be done on all (including overloaded) functions or only for functions with matching signature

      Current behaviour:

      • Creator renames all occurences of this function - no matter if it's the same signature or not

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            cstenger Christian Stenger
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes