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 for static class members
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sjaffe
Ketchup Master

USA
60 Posts

Posted - Dec 08 2006 :  3:53:46 PM  Show Profile  Reply with Quote
Not sure if this is an oversight or intended behavior, but if I have a static member in a class (the definition), then have the declaration in the cpp file, alt-g will take me to the class definition from the declaration, but not from the definition to the declaration. If I have a class method I can use alt-g to bounce between the class definition and the method implementation. I expected the static members to work the same way. An example:

class foo
{
public:
static int i;
void f();
};

int foo:i;
void foo::f() {}

alt-g will toggle between f() in the class and the method, but won't toggle between the variable i definition and declaration.

It would be very useful for us if it worked that way.
Thanks, Stan

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Dec 11 2006 :  10:55:28 AM  Show Profile  Reply with Quote
I am not sure if this is by design or not either, but it is a sensible idea, I have put in a feature request for this:

case=4053

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

support
Whole Tomato Software

5566 Posts

Posted - May 31 2007 :  01:01:23 AM  Show Profile  Reply with Quote
fixed in build 1557
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