T O P I C R E V I E W |
AviCharlie |
Posted - Jul 23 2007 : 11:31:37 AM 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. |
3 L A T E S T R E P L I E S (Newest First) |
support |
Posted - Oct 29 2012 : 10:55:06 AM 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. |
AviCharlie |
Posted - Jul 23 2007 : 12:57:51 PM That makes sense. Thanks! |
feline |
Posted - Jul 23 2007 : 12:33:49 PM 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 |