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
 Problem with alt + O
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mspa
Senior Member

Netherlands
44 Posts

Posted - Oct 25 2004 :  03:15:23 AM  Show Profile
I have a problem with the following situation:

My project file structure looks something like this

.\\Workspace.dsp
.\\Project1\\Source\\scrfile.cpp
.\\Project1\\Include\\hdrfile.h
.\\Project2\\Source\\scrfile.cpp
.\\Project2\\Include\\hdrfile.h

Both projects contain a .cpp file and .h file with exactly the same name and are both included in one workspace.

The problem lies in the shortcut alt+O which switches between corresponding header and source files. However in my situation the switching is always done to the files of project1. So switching from project1 is ok, but switching from project2 always results in the corresponding file of project1.

Can something be done about this problem?

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 26 2004 :  08:19:17 AM  Show Profile
i am guessing this is with VC6 since you have listed a dsp file. are all of the cpp files part of the same workspace? or do you have more than one workspace open?

which version of VAX are you using? do you have any other plugin's installed?

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

mspa
Senior Member

Netherlands
44 Posts

Posted - Oct 26 2004 :  10:02:10 AM  Show Profile
This is indeed with VC6.

Each project has it's own project file ( project1.dsp, project2.dsp ), both projects are added to a single workspace file. So only one workspace if open with both projects.

Besides VAX 1276 I have also installed the WinTabsExt (3.10) extension.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 27 2004 :  6:39:39 PM  Show Profile
added to my list of things to try and reproduce.

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

support
Whole Tomato Software

5566 Posts

Posted - Oct 30 2004 :  7:35:57 PM  Show Profile
Since cpp and header do not live in the same directory, VA X searches /I for a matching file in which the implemenation might exist. As you have discovered, VA X finds a matching file first in Project1, regardless of project in which header is found.

Unfortunately, this one is not an easy one to fix.
Go to Top of Page

kobrigo
New Member

2 Posts

Posted - Nov 22 2004 :  05:25:22 AM  Show Profile
This is a major drawback.

The result is that on a dayly bases we are jumping to wrong files.
This feature is one of the most powerfull features that the VA has.

please fix it or at least give us a work-around.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Nov 22 2004 :  5:36:45 PM  Show Profile
do you have the option to rename some of the source files, to avoid the confusion?

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

mspa
Senior Member

Netherlands
44 Posts

Posted - Nov 23 2004 :  02:34:09 AM  Show Profile
Well in fact it is possible off course, but it would take up a lot of time to adjust the filenames, adjust all include statements and our sources are stored in a source database which needs to be adjusted.

So it is possible, but I doubt it that I am the only one with this problem. So it would be great if you guys could fix this.

How come a file which is deeper in the directory structure is found first before a file which is almost in the 'same' directory?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 06 2004 :  5:17:03 PM  Show Profile
at a guess, this has something to do with how VAX scans the /I list it gets back from the IDE.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000