Bikush
Bikush

Reputation: 694

CodeLite autocomplete cannot find c++ headers

CodeLite 7.0, Windows 7, MinGW installed, autocomplete cannot find anything c++ related. I have a workspace and a project in it (just started with CodeLite).

When I try to include a c++ header (e.g. string or vector) or use those classes in my code i get no autocomplete. Compiling and running works fine, just the autocomplete does not.

Under CodeLite->Settings->Code Completion->CTags there is a list of MinGW's include folders for c++ (I checked, all headers are in those folders).

Am I missing something?

Upvotes: 2

Views: 4664

Answers (2)

bobl2424
bobl2424

Reputation: 133

I may be way off base here, but found a similar (same?) issue.

This does NOT work:

#include <vector>
using std::vector;

vec (No autocomplete)

However, both other ways work as expected:

#include <vector>

std::vec (Yes autocomplete)

OR:

#include <vector>
using namespace std;

vec (Yes autocomplete)

Upvotes: 1

Eran
Eran

Reputation: 2400

What happens when you go to : CodeLite -> Workspace -> Retag Workspace (full) , does it change anything?

And just to make sure: you do have a workspace and project, right?

Eran

Upvotes: 1

Related Questions