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
 VA searches symbols in unrelated files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 08 2010 :  7:10:39 PM  Show Profile  Reply with Quote
I sometimes search for text in source files on the build machine (can be a different version from the local files in the network)

Today, VA started to suggest symbols from that network folder instead of using the solution when I "find symbol" or "find references".

This persists after numerous restarts of Visual Studio, closing all files, etc. making VA useless (even harmful)

How do I get rid of this behaviour?

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 08 2010 :  7:13:03 PM  Show Profile  Reply with Quote
Also, I cleaned the temporary symbols and rebuilt the symbols -- nothing helps!
Go to Top of Page

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 09 2010 :  12:08:59 PM  Show Profile  Reply with Quote
That behaviour stopped after a reboot.

However (and this is important!) I am now at a position when just opening a file from the build machine in Visual Studio may necessitate a reboot to make VA work as intended.

Please fix.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 10 2010 :  2:10:29 PM  Show Profile  Reply with Quote
Which IDE and version of VA are you using?

Do you have either of the VA options:

Upon opening a file, parse all other unparsed files in the same directory:
VA Options -> Projects -> File Handling -> if Solution is empty
VA Options -> Projects -> File Handling -> if Solution is not empty

turned on?

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

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 10 2010 :  2:59:22 PM  Show Profile  Reply with Quote
VA_X.dll file version 10.6.1810.0 built 2010.01.22
DevEnv.exe version 8.0.50727.762

VA Options -> Projects -> File Handling -> if Solution is empty -- was ON (now OFF)
VA Options -> Projects -> File Handling -> if Solution is not empty -- was OFF

A non-empty solution was open at the time.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 15 2010 :  11:31:24 AM  Show Profile  Reply with Quote
Lets start by looking at the Find Symbol dialog box. This has a checkbox "Show only symbols defined in current solution", is this turned on of off? Turning this on should fix the problems you are seeing with this dialog.

When you open a code file that is not part of the solution VA parses it. So it learns about the symbols in this file. However it will forget about these symbols when you rebuild VA symbol database.

So the fact that you were seeing this problem after doing a symbol database rebuild bothers me. Is it possible the IDE was remembering that you had opened files from outside the solution, and it was opening these files when you reloaded the solution? Thus showing VA these unwanted symbols again?

For Find References, if you turn on:

VA Options -> Advanced -> Refactoring -> Display project nodes in Find References results

does this help? Are the unwanted symbols separated out from the wanted symbols?

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