Author Topic: Code completion help  (Read 3724 times)

surdy

  • Guest
Code completion help
« 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.
 
« Last Edit: November 03, 2009, 01:26:18 am by surdy »

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: Code completion help
« Reply #1 on: November 03, 2009, 06:25:12 am »
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?

Offline joex26

  • Single posting newcomer
  • *
  • Posts: 4
Re: Code completion help
« Reply #2 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code completion help
« Reply #3 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. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: Code completion help
« Reply #4 on: November 05, 2009, 12:27:57 pm »
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?