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...
adding terms to code completion
- brainflex
- CodeLite Curious
- Posts: 4
- Joined: Fri Jul 30, 2010 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding terms to code completion
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
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
Make sure you have read the HOW TO POST thread
- brainflex
- CodeLite Curious
- Posts: 4
- Joined: Fri Jul 30, 2010 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding terms to code completion
OS- windows 7...members and classes working fine...version is latest with wxWidgets and minGW combined
- brainflex
- CodeLite Curious
- Posts: 4
- Joined: Fri Jul 30, 2010 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding terms to code completion
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
... or is there some way to access the database manually and include terms? jim
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding terms to code completion
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 upbrainflex 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
There is no need to edit the database manually
Eran
Make sure you have read the HOW TO POST thread
- brainflex
- CodeLite Curious
- Posts: 4
- Joined: Fri Jul 30, 2010 5:55 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding terms to code completion
ok...i get it now...i was not including the proper #include header files...thanks