Author |
Topic |
|
Alexo
Ketchup Master
Canada
81 Posts |
Posted - Feb 24 2009 : 12:58:03 PM
|
VS2005 SP2 VAX 1715
Solution file containing several projects. Each projectN includes the following files: - root\\dirN\\file.cpp - root\\dirN\\file.h (same names, different folders)
When one of the files is open, hitting "Open Corresponding File" sometimes opens the file from the wrong folder/project. |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Feb 25 2009 : 11:03:45 AM
|
Are you taken directly to the wrong file, or are you seeing a menu listing possible files to jump to?
If you make sure none of the files called "file.XXX" are currently open, then show VA's Open File dialog, and filter it with "file." does it show all of the files?
The main reason for problems with alt-o and duplicate file names is when not all of the files have been added to the solution. If there are an odd number of files VA has to guess at how to pair them up. |
zen is the art of being at one with the two'ness |
|
|
Alexo
Ketchup Master
Canada
81 Posts |
Posted - Feb 25 2009 : 1:57:12 PM
|
Taken directly to the wrong file. There is an even number of files, all of them correctly added to their respective projects.
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Feb 26 2009 : 09:29:06 AM
|
Does this happen every time, or only some of the time?
Can you please post the full paths of 4 files please, the pair you start in, and the pair you end up in, along with which one you start in and which one you end up in. I can then try and setup a similar test here. |
zen is the art of being at one with the two'ness |
|
|
Alexo
Ketchup Master
Canada
81 Posts |
Posted - Feb 26 2009 : 09:55:59 AM
|
It happens sporadically and it is hard to reproduce on demand. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Feb 26 2009 : 10:10:54 AM
|
That is odd, normally Alt-O is very consistent. It always does the same thing for me, right or wrong.
Do you have any other IDE plugin's installed? |
zen is the art of being at one with the two'ness |
|
|
Alexo
Ketchup Master
Canada
81 Posts |
Posted - Feb 26 2009 : 10:28:34 AM
|
nope |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Feb 26 2009 : 11:17:18 AM
|
*sigh* any clues you can offer next time this happens will be interesting. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|