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

Add "Extract Method" refactoring feature.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 2.5.0-beta
    • None
    • Editors
    • None
    • c25f0585d1f063e82e5eafdda40ab6a87bf68443 1c1b3840c594004801817befdd192c19f7f659c4

      One of my favourite features from other IDEs missing in QT Creator is the ability to select a block of code, right click on it, select [Refactor->Extract Method], fill in a prompt for the new method name, and have the block of code replaced by a call to the new method. The magic comes from the analysis of the variables required within the block of code and the parameters chosen for the new method to pass these in.

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

            leamelo Leandro T. C. Melo
            mr_jrt Jamie Thompson
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes