Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 autotext bugs while using "typedef"

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
accessdenied Posted - Aug 17 2007 : 06:13:13 AM
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.
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 18 2007 : 09:43:23 AM
Strange, you should not have to turn on that option for this to work.
accessdenied Posted - Aug 17 2007 : 12:52:11 PM
When I tested with the option turned on, I can see the member functions.

Thank you for your reply!
feline Posted - Aug 17 2007 : 12:43:07 PM
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.
accessdenied Posted - Aug 17 2007 : 10:50:41 AM
I'm using VS2003(7.1) and VAX 1559.
feline Posted - Aug 17 2007 : 08:03:57 AM
Which IDE and version of VA are you using?
This works just fine for me using VS2005 and VA 1559

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000