Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 May Va can offer a function move class

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
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.

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