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
 Auto complete of struct members
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kipodkipod
New Member

2 Posts

Posted - May 29 2010 :  04:37:58 AM  Show Profile  Reply with Quote
I use version 10.1.1298.0 with VS2003, normally with C (not C++).
When referring a struct, I get all struct members, all is fine!

Now I installed for test the newest version of VA, and can not access this feature anymore. Instead of struct member I get the standard G??auto textG?? suggestions.
What do I do wrong? What is not correct configured?

kipodkipod
New Member

2 Posts

Posted - May 29 2010 :  04:40:22 AM  Show Profile  Reply with Quote
Forgot to mention that with the new version, all struct members are also red underlined.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19001 Posts

Posted - May 31 2010 :  4:51:06 PM  Show Profile  Reply with Quote
So far I cannot reproduce the problem. Using VS2003, VA 1823, and a .h file with a matching .c file I have added the following code to the .h file:

#pragma once

typedef struct PureCStruct
{
	int c_height;
	int c_density;
	float c_width;
};


and the following code to the matching .c file:

#include "test_pure_c.h"

static void testPureCStruct()
{
	struct PureCStruct structTest;
	structTest.c_density;		// no underlining
	structTest.invalid_item;	// underlined as invalid
	structTest.|;
}


when I type the dot here I get a listbox showing me the members of the struct. Can you try this code on your system please and see if you get the same results?

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