Hmm maybe:
Settings -> Editor -> Code-completion and symbols browser -> Follow GLOBAL includes
You have to understand that C::B will not blindly go around your hard disk to find header files...
It uses "search dirs" which are coincidentally the compiler's search dirs.
Now, in the wxWidgets case (as in many other linux packages too), you don't setup the compiler's search dirs yourself but rather add `wx-config --cflags` in compiler options and this takes care of everything. But C::B doesn't know about it...
So, the short answer is to manually add "/usr/include/wx2.6/wx" (or whatever) in your compiler search dirs so that C::B can locate the wx headers.
Little question: how much feasible is to parse the output from backticks looking for a -I and feed it to the CodeCompletion plugin?
Little question: how much feasible is to parse the output from backticks looking for a -I and feed it to the CodeCompletion plugin?
That would require more effort than it's worth. What would be more feasible though, with the new Extensions node in the project file, is allow adding additional search paths for the CC plugin per-project.
P.S. I noticed you guys have changed the behaviour of these forums whereby I can no longer use an arbitrary user name to make 'anonymous' postings. :? -- I now _HAVE_ to actually log in. :(