Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VAX 1524: Hat Tick - finding files in "other" dirs

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
MrJones4u Posted - Jun 21 2006 : 6:50:21 PM
Hi,

I've got a project let call it xyz which is located in lets say X:\\MyProjects\\xyz there is also an accent copy of the same project in the directory X:\\MyProjects\\xyz-Old.

Now, and VAX has never done this before, VAX starts suggesting files from xyz-Old which has boggle eyed me a few times now because the correct file is displayed but big chunks of code are missing.

Now, I'm using VS6 and there are no references to the xyz-old directory in neither of the project files nor in any source file nor has this directory ever been opened on this VS6 / computer installation (it just sort of lurks) nor is there any trace of this register in the registry. Also after VAX finding it I have renamed it multiple times but VAX seems to be able to scout them out G?? freaky.


Cu,
Michael
11   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 04 2006 : 7:05:23 PM
can you give me some help in setting up a test for this? i don't really have a good feel for how your code is organised.

is this partial common base class in both projects? is it a single cpp / .h file pair?
when you are getting this problem, are you jumping to functions that are defined in this common base class, or is it happening under other conditions?
MrJones4u Posted - Jul 03 2006 : 10:49:28 AM
Well, Improvement it showed until...

...I now actually open two projects at the same time, each in a separate IDE instance, which share a partial common class base (NOTE: This is a different scenario then the previous issues!).


ATL-G will suggest in randomly order files from the current and the other project and trying to do qualified work is almost impossible as I have to constantly verify that I am actually modifying the correct file.


G?HELP!!! ItG??s driving me nutsG?


Please, please; Add an enable/disable function for this. Or at least order the files: first the local then the external and maybe color them differently or add some prefix..


MrJones4u Posted - Jul 01 2006 : 08:26:25 AM
Cool! Thanks!

First tests show improvement!

I still donG??t understand how VAX could find these files as they never had been accessed at all neither with the IDE nor with any other tool G?? but who caresG? does not seem to be an issue any more.

Cu,
Michael
support Posted - Jun 30 2006 : 2:54:31 PM
If you open a file from another project, it will get parsed and be accessible from your current project. However, VA "should" forget about these files the next time you load the project untill the files are opened again. There was a bug in 1527 and earlier that prevented the files from being forgotten untill the db was rebuilt.

Mind giving 1528 a try and letting us know if it fixes the problem.

http://www.wholetomato.com/downloads/VA_X_Setup1528.exe

case=1526
MrJones4u Posted - Jun 30 2006 : 04:01:07 AM
Oh... that stuff...

But the "good" news is - nothing unusual. As far as I can see only files that actually are members of the project.

bugfix Posted - Jun 30 2006 : 03:54:24 AM
You might want to check:
http://www.wholetomato.com/support/glossary.html
http://www.wholetomato.com/products/features/fiw.html?more=yes
http://www.wholetomato.com/products/features/siw.html?more=yes
MrJones4u Posted - Jun 30 2006 : 03:48:01 AM
Hi,

die "real" source code is in N:\\myProjects\\vsmStudio

Just help me here - what are OFIW and FSIW ?

cu,
Michael
feline Posted - Jun 28 2006 : 6:07:38 PM
MrJones if the project is on N: where is the source code for the project? or am i missing something obvious here.

to both MrJones and damned, if you look in OFIW and FSIW are you seeing what you expect when you filter the list down to just these files / symbols?

MrJones i am trying to work out where VA would pick up N: from, but from your description it is not at all obvious. are there any references to N: in OFIW?

damned, it sounds like you are experiencing the effect support mention further up this thread, where VA remembers previous files it has seen. it may be getting confused by duplicate class names, with no clear indication that they are different classes.
damned Posted - Jun 28 2006 : 3:47:26 PM
Also.

I have one or two same classes in same named files in several projects in one solution.
They all are slightly different for needs of the project.

Worked on one project... then unload it from IDE.
Works on other prolect. Try to go to definition of the class.

VAX open files form unloaded project in spite of existing same class and files in current project.
MrJones4u Posted - Jun 28 2006 : 04:31:31 AM
OK... I've just deleted the history and rebuilt the Symbol Databases. The directories under Project|Directories are all C:/... something.

I press ALT-G:



the shown directories starting with N:\\... have been NEVER been opened in the IDE and there is NO reference within the project (apart from the fact the the project is located on N:)

This is a totally new behaviour since 1524
support Posted - Jun 21 2006 : 9:33:02 PM
Have you checked the Project|Directories tab of the VA X options dialog? Platform should be set to Win32 if your IDE settings are complete.

VA X might get confused if you open files from the old project from within the IDE? It assumes you want help with all files you edit so it parses what you open. It will likely retain pointers into the old files until you press Rebuild on the Performance node of our options dialog and restart your IDE.

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