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
 Find References Verbose Function Context Options
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CliffyP
Ketchup Master

55 Posts

Posted - Apr 24 2016 :  11:39:40 AM  Show Profile  Reply with Quote
I brought up this idea in: TOPIC_ID=12600

But figured it needed a request thread, so requesting it here.

Currently Find References window has a feature I refer to as the function context display. Where it will show the name of a function in which whose body a reference was found as a prefix in the displayed line like this:

Project
  File
    MyFunc: reference

I think this feature is good and helpful, but often I find that the abbreviated form can get confusing when you are dealing with overloads and virtuals across multiple classes.

So I was thinking it would be nice to have an option to show the full function declaration instead of the in-lined abbreviated form.

for example:

Project
  File
    void MyFunc(INT InVar)
      reference

or perhaps something even more contextual and show declaration and the specific caller as well:

Project
  File
    MyObject->MyFunc(InVar)
      void MyFunc(INT InVar)
        reference

Edited by - CliffyP on Apr 24 2016 11:43:42 AM

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 25 2016 :  8:49:25 PM  Show Profile  Reply with Quote
So you are adding an extra group before you see the actual references, the calling function in your first example, is that correct? It is an interesting grouping, but it will make the list very cluttered if the calls are scattered around across several functions.

It makes some sense for showing more information though.

Instead of adding two extra groupings, how about the full function name of the calling function, when there is one:

void ClassHolder::MemberFunctionCallingOurFunction(INT inVar)

also, what happens when there is no function? e.g. the reference inside the class declaration. Just omit this node level? Then your results are at different levels of indent.

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

CliffyP
Ketchup Master

55 Posts

Posted - Apr 27 2016 :  12:05:01 PM  Show Profile  Reply with Quote

A little clutter is a small price to pay for more useful information that allows me to find what I'm looking for more efficiently.

"how about the full function name of the calling function"

That is what I meant by show the function declaration, its full signature.

"also, what happens when there is no function? e.g. the reference inside the class declaration. Just omit this node level? Then your results are at different levels of indent."

yes
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Apr 28 2016 :  8:37:50 PM  Show Profile  Reply with Quote
We are considering making the current function name display show more information, so I have added this idea of an extra node, and grouping under it, to the case. It is related, and the extra node solves the problem of how much room this extra information takes up:

case=71850

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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000