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
 Find References misses files after moving them
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

thethirdhalf
Junior Member

16 Posts

Posted - Sep 24 2008 :  1:11:01 PM  Show Profile  Reply with Quote
Scenario:

We have two classes:

ClassA.h
ClassA.cpp
ClassB.h
ClassB.cpp

Say ClassA includes ClassB:

// ClassA.h
#include <ClassB.h>

class ClassA
{
  ClassB otherClass;
};


Also, ClassA calls some method on ClassB in ClassA.cpp.

Do a Find References on the method of ClassB in ClassA.cpp.

All four files will show up.

Now, move ClassB.h and ClassB.cpp to another location in the solution explorer (show all files mode is enabled)

Do a Find References on ClassB's method in ClassA.cpp again.

This time, VA-X will miss ClassB.h and ClassB.cpp.

Interestingly, without clearing the Find References, just open ClassB.h. Then, click 'Refresh' on Find References.

Now ClassB.h and ClassB.cpp will appear.

Then, close ClassB.h and click 'Refresh on Find References again. Now, ClassB.h and ClassB.cpp do not appear.




Visual Studio 2008 Standard
Visual Assist X Build 1649

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 24 2008 :  4:01:42 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=19933
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Nov 12 2010 :  3:33:29 PM  Show Profile  Reply with Quote
case=19933 is fixed in build 1836

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