T O P I C R E V I E W |
str |
Posted - Apr 17 2014 : 02:39:54 AM Hi, I'm using VS2013 and I have configured my include and library directories as described in the documentation. In VAssist settings I use the "Project defined" settings. The problem is, that VAssist does not differ between different configuration or target machine settings. So it holds ALL of the different locations in its directory cache. This yields in a very bas performance and ambiguous symbols behaviour. So, what is the proposed solution to work with different projet configurations with different directory structure and content? |
12 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 10 2014 : 9:34:27 PM Unfortunately no, VA does not parse directories recursively. VA parses directories the same way the IDE its self does, which is to only parse the directories you tell it, and to use these as base directories for relative path names.
Can you please run regedit, and look at the key:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet12\\Custom\\SystemInclude = "..."
this is where VA saves your custom include directories. Is this being set correctly when you quit the IDE?
Can you keep an eye on this registry key and reproduce the problem where your VA custom directories are lost, and see if you can see what might be happening? VA should only update this key when you close the IDE. If you have more than one IDE open then the last one you close will be the last one to update this key.
It is almost as if you sometimes loose permission to write to this key, or the registry is being reset by another process or program. |
str |
Posted - Jun 10 2014 : 12:50:39 AM I'm using Win7x64. Doesn't VAssist parse directories recursive? My Libraries_VS2013_Win64 folder does contain some different 3rd party libraries but not only Qt. I'm triggering a rebuild of VA's symbol databases in the VA settings dialog. |
feline |
Posted - Jun 07 2014 : 12:01:07 AM Which OS are you using? What, if anything, is odd or different about your situation?
How, exactly, are you triggering a rebuild of VA's symbol databases? I simply cannot reproduce this problem here, my custom stable include directories are never being reset. So obviously there is something you are doing that I am not doing.
For the Qt library, your new stable include directories does not contain any references to Qt, so VA no longer knows about Qt, or where to find it. Your directory list used to contain the Qt directories, as shown in your screen shot. |
str |
Posted - Jun 06 2014 : 12:41:45 AM Ok. Following behaviour. Settings in 'Sources Files' are saved.

Addding a 'Stable include file' also is saved, at first.

After restarting VS2013 all is still there. Then, rebuild and clear data base. Restart VS2013. ALl is there. Open my project, VSassist is reparsing all and my 'Include stable' settings is cleared:

Using Ctrl+g at a QList symbol jumps to a completely other location than Libraries_VS2013_Win64
|
feline |
Posted - Jun 05 2014 : 11:41:52 PM Which OS and version of VA are you using? This looks like a Windows 7 screen shot, so if this is Windows 7 is it 32bit or 64bit?
Your changes to the custom directory listing should be saved correctly, they should not be lost. I have checked VA 2036, VS2013 under Windows 7 64bit here, making several changes to the custom directory listing, and the changes are always saved and reloaded correctly for me.
Are other changes you make to VA options being saved correctly when you close the IDE? We need to get this working before looking much further.
One thought, if you have more than one instance of the IDE open at the same time, the last instance you close will save out the VA settings, overwriting any other changes you made, so this might explain some problems with settings not being saved correctly. |
str |
Posted - Jun 04 2014 : 01:26:17 AM Here two screenshots what I have:
 In this case my custom settings always are reset after next VS2013 restart. Besides, it is very anoying to edit that setting at each build configuration change.

|
feline |
Posted - May 27 2014 : 11:58:45 PM Apologies for the very slow reply. How often are you changing your profile, so needing to change the directories that VA knows about, and is basing its suggestions on?
The problem is that changing these directory settings in VA requires rebuilding our symbol database, since these external directories are not part of your solution, so are scanned as stable include directories, so they are not expected to update or change often.
You can set a single set of directories that you want VA to scan and to know about, by setting your C++ Directories platform to Custom:
http://docs.wholetomato.com/default.asp?W213
the problem here is that changing this setting / list of directories will get VA to prompt you to restart your IDE and VA will then rebuild your entire symbol database. So if you need to make a change like this fairly often this is not an ideal approach. |
str |
Posted - May 12 2014 : 12:39:06 AM I'm always compiling in vs2013 using different build configurations. debug2010/debug2013 release2010/release2013 and so on... |
str |
Posted - May 06 2014 : 07:29:15 AM I'm always compiling in vs2013 using different build configurations. debug2010/debug2013 release2010/release2013 and so on...
quote: Originally posted by feline
That generally makes sense. How are you specifying the target, and how are you setting / changing the associated directories in the IDE?
For example, when targeting VS2010, are you actually compiling via VS2013, or are you compiling via a VS2010 solution?
|
feline |
Posted - May 05 2014 : 10:24:55 AM That generally makes sense. How are you specifying the target, and how are you setting / changing the associated directories in the IDE?
For example, when targeting VS2010, are you actually compiling via VS2013, or are you compiling via a VS2010 solution? |
str |
Posted - May 05 2014 : 04:33:31 AM No, I'm not targetinh different OS's but different compiler and machine type configurations. (x86 , x64 and VS2010 as compiler, VS2013). I each of them I use other dependent 3rd party libraries. |
feline |
Posted - Apr 17 2014 : 10:41:58 AM What do you want to achieve here? Do you just want VA to see and consider one set of target directories? Are you targeting different OS's? |