Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Find References Verbose Function Context Options

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
CliffyP Posted - Apr 24 2016 : 11:39:40 AM
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
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 28 2016 : 8:37:50 PM
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
CliffyP Posted - Apr 27 2016 : 12:05:01 PM

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
feline Posted - Apr 25 2016 : 8:49:25 PM
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.

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