Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Visual Studio External Dependencies

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
rfejgin Posted - Feb 24 2014 : 12:51:55 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 26 2014 : 7:52:19 PM
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.
rfejgin Posted - Feb 24 2014 : 1:14:31 PM
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;
===============================================================

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