Hi, I've done a bit of a forum search but couldn't find anything that deals with this problem.
When using auto-complete with structures Visual Assist displays all members even if they're not accessable at that level.
This is something that Visual Assist has been doing since I started using it about four years ago. Because I work exclusively in embedded C, structures are my most valuable asset - it's the only way to create semi-OO type design.
This isn't a problem if I typedef my structs and then include the new type. That has typically been my work around in 99% of cases but in a few scenarios where a structure is only used locally, typedef'ing is just overkill to avoid this problem.
Is this a bug or a configuration option I haven't found?
Thanks
Darcy
static struct
{
uint32_t var_general_1;
uint32_t var_general_2;
struct
{
uint8_t var_setup_1;
uint8_t var_setup_2;
uint8_t var_setup_3;
} setup_vars;
struct
{
bool var_req_1;
uint8_t var_req_2;
} request;
} my_struct;