Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Create implementation for several declarations

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
znakeeye Posted - Sep 17 2008 : 08:53:19 AM
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+
6   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Oct 24 2012 : 3:58:04 PM
Build 1912 supports mass Create Implementation.
feline Posted - Sep 18 2008 : 10:49:15 AM
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
znakeeye Posted - Sep 18 2008 : 06:10:13 AM
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?
feline Posted - Sep 17 2008 : 5:16:48 PM
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.
GennadiyKorol Posted - Sep 17 2008 : 2:36:54 PM
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).
feline Posted - Sep 17 2008 : 11:51:59 AM
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.

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