News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Autocompletion bug?

Started by ossLover, October 07, 2010, 02:41:53 PM

Previous topic - Next topic

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:

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.
}

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 :))
Kernel Extremist - PedroM power ©

Loaden


Loaden


Folco

I confirm. :)

ossLover, you can use that to retrieve sources : svn checkout svn://svn.berlios.de/codeblocks/branches/codecompletion_refactoring CBsrc
Kernel Extremist - PedroM power ©