Page 1 of 1

adding terms to code completion

Posted: Fri Jul 30, 2010 6:05 pm
by brainflex
hi folks,
i was wondering if anyone could tell me how to add common C++ keywords and expressions to the auto-complete feature of CodeLite. my installation has very few terms and i would like to add some common wordslike "string...#include...etc. it seems the library is quite limited in what it offers to complete.
is there a mechanism to add 3rd party libraries to CodeLite...like maybe from Visual Studio..etc.
any help or directions would help greatly. thank you...

Re: adding terms to code completion

Posted: Fri Jul 30, 2010 6:16 pm
by eranif
First:
Which OS, which version of codelite?

Second:
You are doing something wrong.

If you are not getting completion for members/classes etc, make sure all the below is true:
- You have a workspace and project opened
- Your file is part of the project
- Your parser settings are set correctly as described here http://codelite.org/LiteEditor/CodeCompletion and here http://codelite.org/LiteEditor/CodeCompletion

Eran

Re: adding terms to code completion

Posted: Fri Jul 30, 2010 6:19 pm
by brainflex
OS- windows 7...members and classes working fine...version is latest with wxWidgets and minGW combined

Re: adding terms to code completion

Posted: Fri Jul 30, 2010 6:40 pm
by brainflex
ok... i think i have it now. do you know where i can get a list of 3rd party files to add to this parser "include" path. i love this feature and would like to maximize it's use.
... or is there some way to access the database manually and include terms? jim

Re: adding terms to code completion

Posted: Fri Jul 30, 2010 6:49 pm
by eranif
brainflex wrote:ok... i think i have it now. do you know where i can get a list of 3rd party files to add to this parser "include" path
codelite follows your #include statements in your code. If you include a file and the path for its location existing in the parser's include path codelite will pick it up

There is no need to edit the database manually

Eran

Re: adding terms to code completion

Posted: Fri Jul 30, 2010 6:54 pm
by brainflex
ok...i get it now...i was not including the proper #include header files...thanks