auto-completion not work for "pthread_create" function

General questions regarding the usage of CodeLite
roy
CodeLite Curious
Posts: 6
Joined: Sat Jun 19, 2010 9:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

auto-completion not work for "pthread_create" function

Post by roy »

Hi Eran,

I encountered one problem that code auto-completion not work for "pthread_create" API function, I already included "<pthread.h>", please see the following screen snapshot:
screenshot_pthread.png
we can see CodeLite prompted some other functions that declared in "pthread.h", but "pthread_create" is missing.

Could you please take a look?

Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: auto-completion not work for "pthread_create" function

Post by eranif »

Open:
Settings -> Tags Settings -> Advanced

Add the following line to the 'Tokens' tab:

Code: Select all

__nonnull
Next, Workspace-> Retag Workspace (full)

It should work now

For more information about this voodoo magic:

http://codelite.org/LiteEditor/MacrosHandling101

Eran
Make sure you have read the HOW TO POST thread
roy
CodeLite Curious
Posts: 6
Joined: Sat Jun 19, 2010 9:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: auto-completion not work for "pthread_create" function

Post by roy »

your magic works! thanks again.
Post Reply