This didn't happen to me in previous versions...though unfortunately I can't recall what my previous version was. I was using 1543 when I first noticed this and then upgraded to 1548 since the 1544 changelog mentioned that the ALT+O stuff was fixed but it doesn't appear that way. I can reliably reproduce this bug, so let me know if you need more info. Using VS .Net 2005, XPSP2, C++ project. Here's the info:
I have a file named C:\\research\\jeff\\JeffLib\\Common.h. There is another file in C:\\GameSrc\\cpp\\SexyAppFramework\\Common.h. And there's another in C:\\GameSrc\\cpp\\Crypt\\Common.h
Everytime I hit ALT+O I get a little popup selection thing that lists the .cpp versions of each of the 3 above files. I don't understand why it doesn't just look at my current file (C:\\research\\jeff\\JeffLib\\Common.h) and attempt to open C:\\research\\jeff\\JeffLib\\Common.cpp, rather than looking through other directories. I can select the appropriate .cpp file but it's really tedious since I switch back and forth quite a bit in that file.
VA_X.dll file version 10.3.1548.0 built 2007.02.23 Licensed to: VA X: [email protected] (1-user license) Support ends 2007.09.28 VAOpsWin.dll version 1.3.4.6 VATE.dll version 1.0.6.0 DevEnv.exe version 8.0.50727.42 msenv.dll version 8.0.50727.42 Font: Courier 16(Pixels) Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 2 processors
Platform: Win32 Stable Includes: C:\\Program Files\\Microsoft DirectX SDK (April 2006)\\Include; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include; C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
Library Includes: C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl; C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;
I suspect that if you add that header, you will get the behavior you want. The menu is appearing because it found the cpp file in the solution but not it's header - so it's not clear that all the matches are perfect pairs.
Yup, that seems to do the trick. Apparently I had forgotten to add SexyAppFramework\\Common.h to the project include list (there's a billion files in it). Thanks!