Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Over enthusiastic autocompletion 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
DarcyW 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;

9   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 17 2011 : 11:37:11 PM
case=3548 is fixed in build 1845
feline 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.
DarcyW 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
DarcyW 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.
Dusan 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...
accord Posted - Nov 04 2010 : 04:51:44 AM
I've increased the priority of this bug for you.
Dusan 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...
DarcyW Posted - Nov 03 2010 : 8:44:01 PM
Hi guys, are there any plans to resolve this?

Cheers
Darcy
accord Posted - Oct 18 2010 : 12:33:58 PM
I am seeing the same effect here. Thank you for the clear description:

case=3548

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