Is the CodeCompletion code geared more towards just C++? Or is it still supposed to incorporate C as well?
I'm asking, because I'm working in a C project right now, and the code completion is missing a lot of structures that are declared using old C-style structures. The problem could also be because there are some preprocessor define words mixed into the structure declarations that might be throwing off the code completion.
Here's an example:
typedef struct cmd_connect_ctrl_s
{
/** State */
INT8 state;
/** Rsvd */
UINT8 rsvd1;
/** Rsvd */
UINT16 rsvd2;
} __PACKED__ cmd_connect_ctrl_t;
The "__PACKED__" is a macro for inserting compiler directives for packing structures.
Here's one that doesn't show up either:
typedef struct
{
/** header */
CCT_MSG_HEADER header;
/** interface ID */
UINT32 ifId;
/** min job ID handled by these interface */
UINT32 minUserId;
/** max job ID handled by these interface */
UINT32 maxUserId;
/** interface name, pipe or socket ip addr */
CHAR ifName[64];
}
CCT_MSG_OPEN_USER_IF;