News:

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

Main Menu

Code completion bugs ?

Started by Yuki, March 21, 2007, 05:53:40 AM

Previous topic - Next topic

Yuki

Hi
The Code::blocks IDE 's code completion is very good.but I find a small "bug".I just post the code here:

#include <iostream>

class AA
{
public :
    int a;
};
using namespace std;

int main()
{
    AA b;
    b.a; // The code completion lists the variable a when I type b.

/*
    AA a;
    a.a; // But in this time the code completion can't list the variables
    and after typing a.a . I type b. again and it can't list the variables
*/
   cout << "Hello world!" << endl;
   return 0;
}

Thanks .