Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: Folco on November 25, 2010, 10:34:18 am

Title: Method completion doesn't work inside a class ?
Post by: Folco on November 25, 2010, 10:34:18 am
Hi,

A sample code :
Code
class A
{
    public:
        void func0 ();
        void func1 ();
};

void A::func0 ();
{
    fun|     /* No completion box appears here */
}
I have a prompt [func0 | func1] only if I specify A::fun

Shouldn't I get the completion box even without the class specifier ?
Title: Re: Method completion doesn't work inside a class ?
Post by: killerbot on November 25, 2010, 10:56:07 am
It does work, but you have a bug in the code, It doesn't even compile

Code
void A::func0 ();  //<-------------------------------------------------------- NOTICE THIS ;   REMOVE IT  ;-)
{
    fun|     /* No completion box appears here */
}
Title: Re: Method completion doesn't work inside a class ?
Post by: Folco on November 25, 2010, 03:38:01 pm
Erf, my bad, thank you ^^