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 to different source file...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hajokirchhoff
Ketchup Master

Germany
58 Posts

Posted - Mar 13 2008 :  04:05:13 AM  Show Profile  Reply with Quote
Hello, I'd love to get some help from my VAssist plugin when I want to split source files.

These features would be wonderful to have:

1. move method/class to existing/new source file

I select a class identifier and choose 'move/extract'. VA asks me for a file name, either existing or new and then moves all code belonging to this class into a new .h/.cpp pair.

This would help me in situations where I have two or more classes inside a .h/.cpp pair and what to clean up the code.

2. Enhance the VA Outline window, so that
a) I can have multiple Outlines open
b) drag between Outline windows.

These would be great.

Oh, and when I move a class, automatic generation of appropriate #includes would be nice. Even if all VA did was clone the original .h/.cpp file until the first non #include would be helpful.

Thanks

Hajo

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 13 2008 :  2:33:53 PM  Show Profile  Reply with Quote
We have no plans to create new files, or add files to the solution. Firstly there is no general rule for where files are located on the hard drive, and secondly VA would have no idea which project and folder inside the project to place the new files into.

To move the code I would simply select the items you want to move in VA Outline, cut them, and then paste them into the new file.


We are considering a VA command to add missing #include statements to a file:

case=226

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

support
Whole Tomato Software

5566 Posts

Posted - Jan 27 2009 :  10:26:12 PM  Show Profile  Reply with Quote
case=226 is implemented in build 1715
Hover over an unrecognized symbol and choose "Add include xxxx" from the refactoring context menu.


Whole Tomato Software, Inc.
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