T O P I C R E V I E W |
jzq740176597 |
Posted - May 30 2013 : 9:19:08 PM May Va can offer a function move class to new a file.
sometimes, we may want to move a class declare and imp from .h &cpp to a new .h &cpp file.
if in manual,is very slowly and boring.
Regards. |
1 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - May 31 2013 : 5:07:38 PM We are considering doing something like this:
case=72588
In fact, you can already do something similar, although in 2 steps: 1. Select the whole class in the header and use "Move selection to new file..." refactoring. 2. Select the methods in the cpp and use the same command.
Note that selecting the class is as easy as triple clicking on it in VA View. Also, VA View groups the class methods, so triple click will also help here. If all the methods are next to each other, you can do this in one step. If they are spread across the file (intermixed with methods of other classes) you will need to cut and paste the rest to the new cpp. |
|
|