Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: surdy on November 03, 2009, 01:16:14 am

Title: Code completion help
Post by: surdy on November 03, 2009, 01:16:14 am
I am a n00b with code::blocks . I wanted to know how to enable code completion for external libraries to be used with code::blocks.

Is there a way in which code::blocks can build a database for code completion from .h files like kdevelop does ?

If not then I also have the Doxygen documentation for the libraries can that be used ?

I did try Right click on the project, click on Properties and select the C/C++ parser options , but that did not do code completion for me.
 
Title: Re: Code completion help
Post by: blueshake on November 03, 2009, 06:25:12 am
Add the head files path(include) to the the C/C++ parser options and restart codeblock.
Title: Re: Code completion help
Post by: joex26 on November 05, 2009, 11:06:16 am
Hi,
I am using svn 5892 SVN version.
In Settings->Editor->Code-completion and symbol browser->C/C++ parser  I don't see any option to add additional header directories.
Is this option temporarily unavailable?
Title: Re: Code completion help
Post by: MortenMacFly on November 05, 2009, 11:39:04 am
Is this option temporarily unavailable?
As it depends on your project (obviously) it's in the project options. ;-)
Title: Re: Code completion help
Post by: blueshake on November 05, 2009, 12:27:57 pm
menu-project->properties->c/c++ parser option tab