This is a handy VB add-in that adds something I've
often needed as projects get too large and complex ...
It adds a couple of entries to VB's code pane context menu
so that when you right-click within a procedure (or on a
declare) and select 'Display Callers' you get a popup menu listing
all other routines in the project that call this code member ...
It displays which routines reference any particular code member
in the project, and allows you to select one to go to it - and
a second entry called 'Return to Callee' to go back if you wish.
Callee's include all procedures, API declares, Enums and Types,
module level constants and variables, Implemented classes and
Raised Events ... Also identifies parent Type or Enum when right-
clicking on one of their members ... Finds public Enums of classes
without being qualified by class name ... Also adds a 'Clear' menu
item to the Immediate Window ... Added by request display all
members of the current code module.
- Display Callers.. Alt+F2
- Jump to next Caller Alt+F3
- Return to Callee Alt+Win+F2
- Jump to prev Caller Alt+Win+F3
Added another HotKey: Alt+F3
Pop-up menu is limited to 200 entries, but all hits are kept and
can be iterated by stepping thru the code with the new HotKey.
You can hit Alt+F2, then dismiss the menu with Alt(again)+F3,
and step thru all hits with Alt+F3. You must try it!
Minor update allows returning to all Callees. I'm often finding
Callers of Callers and then unable to return to the starting
Callee. Previous Callees will eventually become out of sync as
changes are made to the code, but no errors will occur. Also
available by repeating the Alt+Win+F2 HotKey.
Another minor update allows stepping through Callers in reverse.
Available only by repeating the Alt+Win+F3 HotKey.
Bug reports or suggestions for improvement welcome.
Just compile the project to automatically add the add-in to VB
and get two new menu items 'Callers' and 'Callee' on the code
context menu ... If you have compiled a previous version just
compile again with no VB IDE's open by selecting 'Make' on the
Caller.vbp's right-click context menu in explorer ... 22 kb zip.