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
 Create implementation for several declarations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Sep 17 2008 :  08:53:19 AM  Show Profile  Reply with Quote
Usually I do this in my header:

void foo();
void bar();
void baz();

Now I have to click all these declarations and choose "Implement...", press Alt+O to get back to my darn header file and repeat...

Why not allow for multiple implementations at once? You select all, right-click and... voil+

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 17 2008 :  11:51:59 AM  Show Profile  Reply with Quote
We are looking into doing this via VA Outline:

case=7787

It is easy to think of problems with doing this in the code, via selecting a "block" of text.

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

GennadiyKorol
Ketchup Master

Israel
54 Posts

Posted - Sep 17 2008 :  2:36:54 PM  Show Profile  Reply with Quote
Maybe add a menu item called "Implement all not implemented" or something like that.

This could go through all methods in the class and add implementation for all methods that were not yet implemented.


Or provide a pop up with check list of all unimplemented methods letting user to check the ones he wants to implement (or uncheck the ones he doesn't).

Correctness might be a theoretical concept but incorrectness has practical implications.

Edited by - GennadiyKorol on Sep 17 2008 3:14:29 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 17 2008 :  5:16:48 PM  Show Profile  Reply with Quote
Currently VA does not know which methods have been implemented and which have not. Overloaded functions and default parameters are the main problems here.

This is something we are looking into, but it is not a simple problem for VA to solve.

A list of checkboxes is one option, but this is likely to get irritating when you are working on an existing class.

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

znakeeye
Tomato Guru

379 Posts

Posted - Sep 18 2008 :  06:10:13 AM  Show Profile  Reply with Quote
I would like an option to, via a shortcut key, implement a selected function without jumping to the cpp-file. Then I could do the above like this:

Ctr+Shift+I (or whatever), down
Ctr+Shift+I (or whatever), down
Ctr+Shift+I (or whatever), down
Alt+O, Ctrl+End (overkill :P)

Doing this via the Outline window is indeed good, but that requires extra clicking. Something I try to avoid. Is the above a possible extension?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 18 2008 :  10:49:15 AM  Show Profile  Reply with Quote
You should be able to do something similar quite easily with an IDE macro:

http://docs.wholetomato.com?W382

You just want a macro to call Create Implementation followed by Alt-O

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Oct 24 2012 :  3:58:04 PM  Show Profile  Reply with Quote
Build 1912 supports mass Create Implementation.
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