Author Topic: Vector code-completion not working just for one project  (Read 2441 times)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
Vector code-completion not working just for one project
« on: May 28, 2018, 05:27:21 am »
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 ...
« Last Edit: May 28, 2018, 09:50:46 pm by rogeriodec »
Windows 8.1

SVN 11400

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: Vector code-completion not working just for one project
« Reply #1 on: June 01, 2018, 05:36:04 pm »
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.