Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Find References misses files after moving them

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
thethirdhalf Posted - Sep 24 2008 : 1:11:01 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Nov 12 2010 : 3:33:29 PM
case=19933 is fixed in build 1836
accord Posted - Sep 24 2008 : 4:01:42 PM
I am seeing the same effect here. Thank you for the clear description.

case=19933

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