Author |
Topic |
|
DarcyW
New Member
New Zealand
4 Posts |
Posted - Oct 17 2010 : 4:15:28 PM
|
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;
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Oct 18 2010 : 12:33:58 PM
|
I am seeing the same effect here. Thank you for the clear description:
case=3548 |
|
|
DarcyW
New Member
New Zealand
4 Posts |
Posted - Nov 03 2010 : 8:44:01 PM
|
Hi guys, are there any plans to resolve this?
Cheers Darcy |
|
|
Dusan
Whole Tomato Software
Slovakia
177 Posts |
Posted - Nov 04 2010 : 03:44:45 AM
|
This issue should have biggest priority, because it is confusing all C++ programmers from beginnings of VA.. As you know C++ programmers are very versatile and proud, so nobody wanted to say, it an BUG because issue is not replicable with simple structs, but only with those nested... |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Nov 04 2010 : 04:51:44 AM
|
I've increased the priority of this bug for you. |
|
|
Dusan
Whole Tomato Software
Slovakia
177 Posts |
Posted - Nov 04 2010 : 07:29:51 AM
|
quote: Originally posted by accord
I've increased the priority of this bug for you.
Thank you... |
|
|
DarcyW
New Member
New Zealand
4 Posts |
Posted - Nov 04 2010 : 6:17:06 PM
|
Ditto, thanks very much. When working on embedded projects in C, structures are as important to me as classes... You can go a long way towards OO type development with the use of structs.
Awesome, thanks. |
|
|
DarcyW
New Member
New Zealand
4 Posts |
Posted - Dec 01 2010 : 8:52:04 PM
|
Hi guys,
Has this issue been resolved? I find myself changing the method I use to build control structures just to avoid this problem. It would be helpful to know if this had been fixed.
Thanks |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Dec 02 2010 : 2:46:26 PM
|
Unfortunately this has not yet been fixed. It is down as an urgent bug, and hopefully it will be fixed soon, but I don't currently have any estimate on when it will be done.
This thread should be updated when this has been fixed. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Mar 17 2011 : 11:37:11 PM
|
case=3548 is fixed in build 1845 |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|