Author |
Topic |
|
hajokirchhoff
Ketchup Master
Germany
58 Posts |
Posted - Mar 13 2008 : 04:05:13 AM
|
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
19021 Posts |
Posted - Mar 13 2008 : 2:33:53 PM
|
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 |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jan 27 2009 : 10:26:12 PM
|
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. |
|
|
|
Topic |
|