about code completion(search path)

Discussion about CodeLite development process and patches
cnhemiya
CodeLite Curious
Posts: 1
Joined: Tue Mar 02, 2010 3:48 pm
Genuine User: Yes
IDE Question: c++
Contact:

about code completion(search path)

Post by cnhemiya »

menu->settings->tabs settings->include files
add search path,Example"d:\mingw\include",the CodeLite only scan "d:\mingw\include", can not scan sub directory. :roll:
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: about code completion(search path)

Post by eranif »

codelite does not "scan" directories.

It scans for include statements in your code.

If your code includes #include <sys/types.h>

and the search path is set to :

/path/to/mingw/include

then codelite will try to locate the file like this:

'/path/to/mingw/include/sys/types.h'

That is how it is working
Eran
Make sure you have read the HOW TO POST thread
Post Reply