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
 non project files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eve
Tomato Guru

Belgium
101 Posts

Posted - Jan 03 2008 :  11:33:48 AM  Show Profile  Reply with Quote
Hi,

I have the problem that VAX handles files that are not part of my project. This happens in two cases:

1. when a random cpp file is opened: suddenly VAX will know all symbols in this file. This is not really a big problem, just a bit annoying.

2. For some reason our build system copies some files to a directory in the parent directory of the solution. These copies are not part of the solution, although you can see them in the solution explorer, but they will have a minus symbol as overlay icon.
Sometimes, but not always, VAX will also open these files, for example when doing a goto definition. This is quite dangerous because suddenly we are working on the copy of our files, which will be overwritten by the build system.

Is there any way to tell VAX to ignore files from outside the project completely?

thanks,
eli

---

some details:
VA_X.dll file version 10.4.1623.0 built 2007.12.04
Licensed to:
VA X: xxx (25-user license) Support ends 2008.09.14
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 17(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

latform: Win32

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 03 2008 :  2:27:27 PM  Show Profile  Reply with Quote
Not currently. VA is designed to remember files you open, so that it can help you with them.

We are considering an option to tell VA to ignore files in certain directory tree's, but since these copied files actually live inside your main directory that will not help.

I am puzzled by the copied files showing up in Solution Explorer. Do you have:

"Show Miscellaneous files in Solution Explorer" in Tools|Options|Environment|Documents.

turned on? Off hand this is the only reason I know for files that are not part of the solution to show up in solution explorer. If so turning it off might help.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Jan 04 2008 :  01:18:10 AM  Show Profile  Reply with Quote
That option is not enabled.
I does not really bother me that the files are in the process explorer, but the fact that VAX sometimes suggests them makes it annoying.

Note that these files are in a subdir of my main project directory, so maybe ignoring files in a certain directory tree might still help.

thanks for the reply,
eli
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 04 2008 :  01:59:03 AM  Show Profile  Reply with Quote
Feline: if you click to the second icon of VS2005/2008's solution explorer (with "show all files" tooltip) it will show all files in the directory, even if they are not part of the project. (By right clicking on them, you can use "Include In Project" or "Exclude From Project")
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Jan 04 2008 :  02:00:39 AM  Show Profile  Reply with Quote
That is indeed what I do, if not then using the project explorer might hang the IDE.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 04 2008 :  12:15:39 PM  Show Profile  Reply with Quote
I have never really looked at those buttons on Solution Explorer, learn something new every day

eve the feature request to ignore files in a specific directory tree is:

case=8814

Your comment:

>> I does not really bother me that the files are in the process explorer, but the fact that VAX sometimes suggests them makes it annoying.

VA should only suggested them after you have actually opened the files. Until you open then VA should not know anything about these files. Is this what you are seeing? Or does VA seem to be parsing these "temporary" files even though you do not open them?

You might find turning off:

VA Options -> Performance -> watch for externally modified files and reparse when necessary

helps with this problem, if VA is detecting the files even though you have not opened them.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Jan 07 2008 :  02:00:44 AM  Show Profile  Reply with Quote
I try to avoid opening these files at all time, and I am not sure that VAX is the one that opens the files for the first time. If I can reproduce this, I will certainly let you know.

I do not think that I will disable the setting that you mention, because it is very handy that VAX automatically reparses after for example and 'svn update'. Thanks for the hint though.


eli
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 07 2008 :  08:44:28 AM  Show Profile  Reply with Quote
If you can figure out why these files are being opened that should be helpful.

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