Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Find References Results

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
foke Posted - Jun 10 2011 : 4:42:38 PM
I believe I found a very small 'bug' or missing features in the VA Find References Results panel.

I was searching for references of a constructor of a widely used class in our project.
It finds a lot of references which are not really what I'm searching for (mainly includes, and parameters of functions which are of this type).
It was displaying : Found 118 references in XX files to: XXX

So I cleaned up the result list by quickly deleting irrelevant results/files.
But the references count is not updated (in this case it stays at 118).
Then I click twice the "Display inherited and overridden references" button and the count is updated.


Edit: and an other one,
if the reference is in the return type of a method, the method name is not reported in the result. It appears like that:
(line number): ReturnType classname::methodName( ....
instead of
methodName (line number): ReturnType classname::methodName( ....
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jul 20 2011 : 02:08:38 AM
case=58040 is fixed in build 1854
feline Posted - Jun 11 2011 : 10:24:29 AM
I am seeing the same effect here. Thank you for the clear description. The count of found references not being updated when deleting found references is:

case=58040

For the return type, if I understand you correctly, this code shows what you are describing:

enum testReturnType { };

testReturnType testingEnumReturnType()
{
	testReturnType nUsingEnumInFunction;
}

when you do a Find References on "testReturnType" I am seeing what you are describing. This is what I personally would expect to happen, since the return type is on the function name line, so its scope is not actually inside the function, its scope is at the same level as the function.

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