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
 ALT-G doesn't find cpp (VC6)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Feb 01 2007 :  06:06:54 AM  Show Profile  Reply with Quote
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
18750 Posts

Posted - Feb 01 2007 :  12:09:50 PM  Show Profile  Reply with Quote
"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
Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Feb 01 2007 :  12:49:26 PM  Show Profile  Reply with Quote
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.


Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Feb 01 2007 :  1:03:17 PM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 01 2007 :  1:26:23 PM  Show Profile  Reply with Quote
*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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000