Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
None
-
None
-
This is an editing/refactring feature in Qt Creator which will apply to all platforms.
Description
It would be really cool to add function to a class through refactor menu the following way.
Suppose I am writing a function which is getting longer. I decide to introduce a new small function which does part of the job. Say I want to call this function say CalculateFactorial( num ).
Notice that I haven't added this function to the class yet but something I want to do but I already wrote it in my function where I want to call it. If I can right click on this proposed function and in refactor menu, I get the option to add this function as member function would be cool. Since it is suppose to be sub-function of sort, by default it should be protected (not public).
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-12997 Create function declaration/definition from call
-
- Closed
-
- is duplicated by
-
QTCREATORBUG-25586 Add refactoring option to create new method stub
-
- Closed
-