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
 Visual Studio External Dependencies
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rfejgin
New Member

2 Posts

Posted - Feb 24 2014 :  12:51:55 PM  Show Profile  Reply with Quote
Hi,
In the project I'm working on some header files are not explicitly added to the Visual Studio solution, but Visual Studio finds them anyway since they are in the same directory as files that include them.
MyClass.cpp includes AnotherClass.h.
MyClass.cpp is in the VS project, but AnotherClassh is not. In the External Dependencies VS filter, AnotherClass.h is listed.
Furthermore, when using *Visual Studio's* "Find All References" for the class AnotherClass (defined in AnotherClass.h), the class definition in AnotherClass.h is listed.
But when doing the same using VA find References, the definition in AnotherClass.h is *not* listed.

Not sure if it is relevant, but the class AnotherClass happens to be an Abstract Class.

Question:
Is this a bug or intentional?
Is there any way to enable parsing of external dependencies in Visual Assist X ?

Thanks,
Roy

rfejgin
New Member

2 Posts

Posted - Feb 24 2014 :  1:14:31 PM  Show Profile  Reply with Quote
Adding some more information:
Language: C++
Visual Studio version: 2012
System Info:
===============================================================
VA_X.dll file version 10.8.2023.0 built 2013.12.20
DevEnv.exe version 11.0.60610.1 Professional
msenv.dll version 11.0.60610.1
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64, WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\winrt;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\shared;
C:\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\crt\\src;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\atlmfc\\src\\mfc;
===============================================================
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Feb 26 2014 :  7:52:19 PM  Show Profile  Reply with Quote
By default, if you open a solution, VA only parses the files that are part of the solution, or that are in the include directories and are referenced. Here, if you turn on the setting:

VA Options -> Projects -> File Handling -> if Solution is not empty

and restart the IDE. This will prompt VA to parse these extra files, which should have the desired effect.

Alternatively, if you want VA to parse and consider these files, why not add them to the solution? Unless you want them to be ignored for some reason.

zen is the art of being at one with the two'ness
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