Reputation: 1223
I am using Eclipse CDT as IDE to develop my application which uses an external library for which I have access to the header files and libraries. How can I setup my project properties such that I can get code completion (I have code completion for files which belong to my project, but not to the ones which are part of this external library). I tried the following approach which unfortunately fails. Project->Properties->C/C++ general->Path and symbols -> Includes In Includes, I added the path to the header files. Unfortunately, this does not seem to work.
So how can I setup my project such that, if I instanciate an object (from this external library) in my project, I can get code completion and see all available public methods?
thanks for your valuable help.
Upvotes: 2
Views: 64
Reputation: 48625
This works for me: Project -> Properties -> C/C++ General -> Preprocessor Include Paths, Macros etc. -> C++ -> CDT User Setting Entries -> Add
Upvotes: 1