Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Refactor: Move Implementation To Source File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AviCharlie
New Member

USA
8 Posts

Posted - Jul 23 2007 :  11:31:37 AM  Show Profile  Reply with Quote
This feature is not available when a source file does not exist for the class. It would be nice if you have a class that has all the functions implemented in the header file you could chose this option and it will create the source file and add it to the project file for you.

In addition, it would be great if this feature would work across the entire class instead of on a single function... so if you have 5 functions implemented in a header file it will move all the implementation for all 5 to the source file instead of having to run the refactor on each individually.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jul 23 2007 :  12:33:49 PM  Show Profile  Reply with Quote
For now we have no intention of trying to create the cpp file. One simple reason for this is that we would not know where to create it. Some people place the header and cpp files in the same directory, but many people place them in different directories.

Plus we would not know which project, folder, etc, in the project the new cpp file should be added to.

Allowing Move Implementation to Source File to work on several functions at once is something we are considering doing:

case=7787

zen is the art of being at one with the two'ness
Go to Top of Page

AviCharlie
New Member

USA
8 Posts

Posted - Jul 23 2007 :  12:57:51 PM  Show Profile  Reply with Quote
That makes sense. Thanks!
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 29 2012 :  10:55:06 AM  Show Profile  Reply with Quote
Move Implementation to Source for an entire class is case=68102 and is implemented in build 1918. Invoke the operation on the class declaration itself -- no need to highlight all method declarations.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000