Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Extract Method Implementation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
studoot Posted - Dec 21 2006 : 06:08:52 AM
I've just done my first 'extract method' in C++, and was disappointed to see the method implementation in the header file. Would it be feasible to have some method of getting the implementation in a .cpp file instead. I'm thinking some thing like this :- If the larger method that you're extracting code from is in a header, insert the new method's implementation there. If the larger method is in a .cpp file, insert the new method's implementation in that .cpp file.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 21 2006 : 07:29:55 AM
This is by design. Unless we ask lots of questions, or have far to many options, we can never satisfy everyone. So VA's refactoring is designed to work in small steps that can then be "chained together" to produce what ever final result you want.

In this case you want Extract Method followed by Move Implementation to Source File

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000