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

"Extract constant as parameter" quickfix should allow immediate renaming

    XMLWordPrintable

Details

    • All
    • 89ad72c78958bd3706ce9ca6461cec8487bb1441 (qt-creator/qt-creator/master)

    Description

      When using the "Extract constant as parameter", it adds a variable "newParameter" to the functions parameter list.

      To give this variable a proper name, you now have to press Ctrl+Shift+R to rename all occurrences.

      I think it would be useful to enter this mode already after selecting the quickfix, i.e. not requiring to press Ctrl+Shift+R, as "newParameter" is always never wanted.

       

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: