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

Renaming parameter in definition not proposed when using const

    XMLWordPrintable

Details

    • All

    Description

      When renaming a parameter in a method declaration, normally a light-bulb appears that proposes to rename the parameter in the method definition as well. However if the parameter is const in the definition (but not in the declaration), the light bulb does not appear.

      This can be a pain in the neck if the programming style requires all unmodified variables (including parameters) to be const (which normally means you don't make parameters const in the function declaration but in the definition only).

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            silicomancer Bernhard Lindner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes