User forums > Using Code::Blocks

Vector code-completion not working just for one project

(1/1)

rogeriodec:
I have a project that I have been working on for some time and I just started using Vector.
It compiles normally, but code-completion does not work just for vector.
The curious thing is that code-completion works for other projects with vectors.
I've done a lot of testing, but I could not find what might be causing this.
Can anyone know why code-completion sometimes does not work for vector?

EDIT:
I was suspicious that my project was corrupted in some way, so I created a new project from scratch, and just copied main.cpp to the new project folder.
Even so, code-completion for vector still does not appear ...

sodev:
With so few information given you need a really good crystal ball to find the answer. Well, lets give it a start.

Which language? Ok, file extension is cpp, probably C++.
Which vector? Hard to say, lets assume the most simple case, its from the STL, so std::vector.
Which compiler, os, architecture? Unknown

Well, what can it be? Most probably again a C++11 issue, either the STL contains fancy C++11 stuff the parser doesn't understand or the vector value-type uses fancy C++11 stuff the parser doesn't understand.

Navigation

[0] Message Index

Go to full version