Extract Method Refactoring
-
wrote on 22 May 2013, 22:46 last edited by
According to the "documentation":http://doc.qt.digia.com/qtcreator/creator-editor-refactoring.html the extract method refactoring feature has been added. When I select a block of code the only refactoring option available to me is: rename symbol under cursor. Has anyone been able to use this?
-
wrote on 22 May 2013, 23:09 last edited by
Never mind. I figured it out. Extract Function is only available within classes. It doesn't show up within a main function.
-
wrote on 23 May 2013, 19:50 last edited by
That does sound like a bug to me... that functionality is useful for functions just as well as for methods. Please consider to "file a bug report":https://bugreports.qt-projects.org/ about it.
1/3