Author |
Topic |
|
peterchen
Tomato Guru
126 Posts |
Posted - Feb 01 2007 : 06:06:54 AM
|
Since I upgraded to 1544, ALT-G frequently only finds the declaration, but not the implementation.
i.e. instead of showing me the popup menu with location, it goes straight to the declaration in the header. If I hit Alt-G on the header declaration itself, nothing happens.
When there are multiple locations in the header, I do get the popup menu, but again it doesn't include the .cpp file location.
I have the problem without templates, without namespaces, simple clas sin header and CPP. Alt-G never worked 100% reliably, but great enough. Now it almost never works. Help!
(VC8 was just again pushed back a month or two :() |
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Feb 01 2007 : 12:09:50 PM
|
"If I hit Alt-G on the header declaration itself, nothing happens." - this bothers me.
If you restart the IDE is this effect consistent? Are both the .h and .cpp file part of the solution? Are both files listed in OFIW?
I have just run some basic tests on alt-g here using VC6 and VA 1544 and I am not seeing any problems. This suggests alt-g is not totally broken, so why are you having these problems? |
zen is the art of being at one with the two'ness |
|
|
peterchen
Tomato Guru
126 Posts |
Posted - Feb 01 2007 : 12:49:26 PM
|
Yes, the effect is consistent. I also tried rebuild symbol databases, then close the IDE (three times now for different projects), still the bahavior persists.
Both .h and .cpp files are listed in VA View / Files in Workspace.
>> This suggests alt-g is not totally broken I thought so much - because if it was as bad for everyone else as it was for me, the message boards would explode ;)
The weird thing is everything else works quite well - also refactoring is more robust for 'weird' cases, that's why I don't want to go back. It's just that little Alt-G
Maybe you have any suggestions I can try, I will do so, even if it's a shot in the dark.
|
|
|
peterchen
Tomato Guru
126 Posts |
Posted - Feb 01 2007 : 1:03:17 PM
|
Sorry, disregard this.
I wanted to try uninstall/reinstall, and noticed that this PC (@work) was still at 1543. I upgraded to 1544 and everything works perfectly :)
Soryy to bother you. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Feb 01 2007 : 1:26:23 PM
|
*ah* that is good news!
I suspect you have "using namespace" lines in the problem cpp files, we have been doing some work with these in recent builds. |
zen is the art of being at one with the two'ness |
Edited by - feline on Feb 01 2007 1:27:26 PM |
|
|
|
Topic |
|