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
 Technical Support
 May Va can offer a function move class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
329 Posts

Posted - May 30 2013 :  9:19:08 PM  Show Profile  Reply with Quote
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.

Creation come from persist!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 31 2013 :  5:07:38 PM  Show Profile  Reply with Quote
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.

Edited by - accord on May 31 2013 5:11:08 PM
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