Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Goto "variant"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

New Member

7 Posts

Posted - Nov 01 2012 :  5:36:12 PM  Show Profile  Reply with Quote
Throughout various coding disciplies, we often have callback/delegate situations where we take a value name, e.g an entry in an enum or a struct, and then we create callback or handler functions.

It would be useful if there was a "Goto Variant" option (alt-shift-g?) which took the current label and applied a set of rules to it to suggest functions/structs to jump to.

E.g. if I have a "struct HelloWorld" and a function named "HelloWorld_Delegate" or "OnHelloWorld" or "HelloWorld_Handler", I'd like to have it suggest those functions.

Probably needs an accompanying option to let you specify variants, e.g.

*_Delegate (if your convention is thing_Delegate)
On* (for OnThing event handler notation).

Whole Tomato Software

United Kingdom
17100 Posts

Posted - Nov 02 2012 :  1:07:24 PM  Show Profile  Reply with Quote
Are you familiar with VA's Find Symbol dialog, Alt-Shift-S:


if you open the dialog and type, or paste in the symbol name "HelloWorld" all symbols containing HelloWorld will be listed, at which point you can easily add a further filter to narrow down the list to just the items you are interested in, so perhaps the filter "HelloWorld on" or "HelloWorld delegate".

I realise this is not as direct, but it is more flexible, and will hopefully help.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000