Hi All,
There seems to be a funny in the symbols browser which affects the code completion.
Take the following piece of code:
typedef struct strType
{
unsigned char El1;
unsigned char El2;
unsigned char El3;
} New_t;
New_t NewTypeStructure;
int main(void)
{
NewTypeStructure
}
This gives the symbol NewTypeStructure under the Global Variables section of the symbols browser, and code completion gives it as a suggestion as I type. However, it will not show me the structures elements, or show me the New_t type as a structure in the symbols browser.
Now take the following piece of code:
struct strType
{
unsigned char El1;
unsigned char El2;
unsigned char El3;
} NewTypeStructure;
int main(void)
{
NewT
}
In this example, the symbols browser adds strType to the symbols browser, and you can see the elements of the structure in the symbols browser. However, NewTypeStructure is not offered by code completion any more and the same applies that auto completion does not offer the elements for completion.
Interestingly, NewTypeStructure in the last example does not get added to the Global Variables, even though it is now a global variable with structure strType.
I'm coding for an embedded target, so I'm completely coding in C. Maybe there's something to click in order to get the symbols browser to scan code for c structures?
This is with the 1.0 Rev 2946 version of c::b
Best Regards,
Brian.