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
 Feature Requests
 autotext bugs while using "typedef"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accessdenied
New Member

3 Posts

Posted - Aug 17 2007 :  06:13:13 AM  Show Profile  Reply with Quote
When I try to ctrl+space to use autotext that declared "typedef" keyword, VAX cannot find any items.
For example, declare types like this:

typedef std::vector<int> int_list;
typedef std::vector<int>::iterator int_list_iterator;

and write this codes:

int_list my_list;
mylist.

and try to ctrl+space.
Then, no items will be shown.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 17 2007 :  08:03:57 AM  Show Profile  Reply with Quote
Which IDE and version of VA are you using?
This works just fine for me using VS2005 and VA 1559

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

accessdenied
New Member

3 Posts

Posted - Aug 17 2007 :  10:50:41 AM  Show Profile  Reply with Quote
I'm using VS2003(7.1) and VAX 1559.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 17 2007 :  12:43:07 PM  Show Profile  Reply with Quote
Odd. I am testing with the following code:

#include <vector>

static void testTypedefTypeList()
{
	typedef std::vector<int> int_list;
	typedef std::vector<int>::iterator int_list_iterator;

	int_list my_list;
	my_list;
}

can you try adding this code to a cpp file and see what results you get?

Do you have:

VA Options -> Advanced -> listboxes -> Get content from default Intellisense

turned on or off? I have it turned off when doing these tests.

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

accessdenied
New Member

3 Posts

Posted - Aug 17 2007 :  12:52:11 PM  Show Profile  Reply with Quote
When I tested with the option turned on, I can see the member functions.

Thank you for your reply!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 18 2007 :  09:43:23 AM  Show Profile  Reply with Quote
Strange, you should not have to turn on that option for this to work.

zen is the art of being at one with the two'ness
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