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
 Technical Support
 VA Find References Results
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

foke
New Member

France
7 Posts

Posted - Jun 10 2011 :  4:42:38 PM  Show Profile  Reply with Quote
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( ....

Edited by - foke on Jun 10 2011 4:48:47 PM

feline
Whole Tomato Software

United Kingdom
18955 Posts

Posted - Jun 11 2011 :  10:24:29 AM  Show Profile  Reply with Quote
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.

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  02:08:38 AM  Show Profile  Reply with Quote
case=58040 is fixed in build 1854

Whole Tomato Software, Inc.
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