User forums > Using Code::Blocks

Autocompletion for structs and STL not working

(1/1)

Pressure:
Hi, I can't seem to get autocompletion to work. I know this has probably been anwered 100000 times but I couldn't find the answer in searches. I'm using CodeBlocks 10.05 for Windows 7.

Thanks for your help.


--- Code: ---#include <iostream>
#include <string>
#include <vector>
using namespace std;

typedef struct
{
    int x,y;
} Point;

class PointClass
{
public:
    int _x,_y;
};


int main()
{
string s;
vector<int> v;
Point a;
PointClass b;
v. // nothing happens
s. //nothing happens
a. //nothing happens
b. // works

return 0;
}



--- End code ---

Jenna:
The codecompletion has improved a lot since the 10.05 release.

If you use a recent nightly build, it should work (at least it works fine on linux with an actual version).
See: Nightly builds forum .

Pressure:
Nightly build worked like a charm. Thanks for your help.

Navigation

[0] Message Index

Go to full version