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
 Goto Declaration not working for local name
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ted4412wilt
Junior Member

22 Posts

Posted - Aug 01 2005 :  12:29:07 AM  Show Profile
I frequently need to find the declaration of a local variable.
Example:
void Afunction() {
bool found;
found = false;
}
Right click on the second 'found' and select Goto Declaration. VA or Visual Studio will say "The symbol 'found' is not defined."
Obviously VA has this variable in its database so it should be able to find it.
using Visual Assist X 10.1.1418.0 with Visual Studio 2002 C++

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 01 2005 :  3:19:31 PM  Show Profile
you are asking the IDE here, not VAX. using your example in C++, VS 2003 and VAX 1418 i get exactly the same response from this right click option.

instead try the keyboard shortcut alt_g or VAssistX menu -> Goto Implementation

for me this works perfectly, and is asking VAX to do this. you should also find it is considerably faster than the IDE's version.

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

ted4412wilt
Junior Member

22 Posts

Posted - Aug 01 2005 :  4:11:09 PM  Show Profile
Thanks, works fine. As you can see, I have not learned all the tricks of Visual Assist yet.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 03 2005 :  2:35:10 PM  Show Profile
now and then i learn a new VAX trick myself there is more to it than you first realise.

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