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
 AutoComplete and missing member variables
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nickjd
New Member

3 Posts

Posted - Mar 10 2004 :  06:16:39 AM  Show Profile
I'm using build 1219 with VC++6 on Win2K.

class Base
{
protected:
int m_iBaseClassVariable;
};

class Derived : public Base
{
public:
void ContrivedMethod();
private:
float m_fDerivedClassVariable;
};

void Derived::ContrivedMethod()
{
m_fDerivedClassVariable = 0.0f; // this always shows up in auto complete
m_iBaseClassVariable = 0; // this almost always doesn't
}

When editing the ContrivedMethod() code and typing 'm_' the float variable will always be present in the autocomplete listbox, but the inherited int variable will hardly ever be there. There are several other people in the office running the same version of VA. We have different setups but all have the same problem.

Has anyone else noticed this?

support
Whole Tomato Software

5566 Posts

Posted - Mar 10 2004 :  11:15:09 AM  Show Profile
Might your listbox be a "suggestion listbox?" If it has tomato icons, you are looking at a list of suggestions. VA X might suggest one. Maybe two.

If you want a completion listbox, ie a list of all valid completions, press Ctrl+Space when a suggestion listbox is open.

http://www.wholetomato.com/x/products/features/suggestion.html?more=yes

Whole Tomato Software, Inc.
Go to Top of Page

nickjd
New Member

3 Posts

Posted - Mar 10 2004 :  11:37:13 AM  Show Profile
Well I wasn't sure what the tomato icons meant, so thanks for that.

However, even in the completion listbox the inherited members are virtually never showing up. They show up more often after a partial re-compile or a re-build, but there's no direct link. If I type the variable name in manually and then ->TAB or .TAB I do get the correct list of methods, so it obviously has data there.

If I can work out exactly what it is that makes the info appear/disappear I'll let you know but for now I have no idea.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 10 2004 :  2:07:09 PM  Show Profile
Try disabling "Use Default Intellisense" on the "Text Editor|C/C++" node of the VA X options dialog.

Whole Tomato Software, Inc.
Go to Top of Page

g.lastro
New Member

2 Posts

Posted - Mar 11 2004 :  12:26:22 AM  Show Profile
hi ... I have nearly the same problem ...

as described in this posting:
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=1802

it also happens with base class methods, not just variables.

greets, goran.

p.s. MS VS.NET 2003 Pro, VAX 1219, Win.XP Sp1
p.p.s and yes ... "Use Default IntelliSense when available" is disabled

Edited by - g.lastro on Mar 11 2004 12:31:54 AM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 15 2004 :  6:24:03 PM  Show Profile
Fixed in build 1220.

Whole Tomato Software, Inc.
Go to Top of Page

nickjd
New Member

3 Posts

Posted - Mar 16 2004 :  05:05:37 AM  Show Profile
Great service, thank you!
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