User forums > General (but related to Code::Blocks)
Autocompletion bug?
(1/1)
ossLover:
OS: Linux Debian
Built version: 6585
Language: C
Hello guys,
I have an issue with autocompletion.
First I show you a simple example code where the porblem occurs:
--- Code: ---struct object_x {
int a;
};
struct object_y {
int b;
struct object_x x;
};
//Here's the problem
int main()
{
struct object_y o_y;
o_y. ----> b
----> emtpy, no 'x' is shown.
}
--- End code ---
Autocompletion doesn't show member x of struct object_y, why? A bug failing to parse a struct object within a struct?
If it's a bug, can someone please report it? I don't have an acount and I will sure forget it etc.
I than ignore the problem for now, and hope it will be fixed soon when updating C::B.
If not, can anyone please give me fix?
Thank you.
Folco:
I get the same problem with code completion branch svn 6677 (Kubuntu 10.04 64 bits).
(BTW, completion of function pointers in the structures works fine now, thank you :))
Loaden:
confirmed!
Loaden:
Fixed in r6681! :)
Folco:
I confirm. :)
ossLover, you can use that to retrieve sources : svn checkout svn://svn.berlios.de/codeblocks/branches/codecompletion_refactoring CBsrc
Navigation
[0] Message Index
Go to full version