Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Auto complete of struct members

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
kipodkipod Posted - May 29 2010 : 04:37:58 AM
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?
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 31 2010 : 4:51:06 PM
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?
kipodkipod Posted - May 29 2010 : 04:40:22 AM
Forgot to mention that with the new version, all struct members are also red underlined.

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