News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code completion help

Started by surdy, November 03, 2009, 01:16:14 AM

Previous topic - Next topic

surdy

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.

blueshake

Add the head files path(include) to the the C/C++ parser options and restart codeblock.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

joex26

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?

MortenMacFly

Quote from: joex26 on November 05, 2009, 11:06:16 AM
Is this option temporarily unavailable?
As it depends on your project (obviously) it's in the project options. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

blueshake

menu-project->properties->c/c++ parser option tab
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?