Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: cambalinho on November 18, 2013, 08:32:35 pm

Title: [RESOLVED]about IDE - why the functions prototype, from .h files aren't showed?
Post by: cambalinho on November 18, 2013, 08:32:35 pm
i have the Code Blocks 12.11 and i use the C\C++ language.
when i do:

#include <windows.h>

GetDC(

why isn't showed the function parameters?
with functions\header files that we create, they are showed
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: BlueHazzard on November 19, 2013, 01:06:53 am
12.11 is pretty old, and there where a lot improvements. So try a nightly build... You can find all infos in the nightly build sub forums


greetings
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: cambalinho on November 19, 2013, 07:13:39 pm
it can be old, but i need it... so is there a plugin or something for i get what i need?(please)
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: stahta01 on November 19, 2013, 07:16:04 pm
it can be old, but i need it... so is there a plugin or something for i get what i need?(please)

Did you check the CC settings?
It might just be a setting issue in Code Completion Plugin.

Tim S.
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: cambalinho on November 19, 2013, 07:38:43 pm
it's on Editor options, but i can't find the right option :(
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: stahta01 on November 19, 2013, 08:01:38 pm
it's on Editor options, but i can't find the right option :(

I have the new Nightly in it;
I would try CC -> C/C++ Parser Tab

Likely try adding it to "Headers to Parse with high priority"

Also, on CC -> CC Tab
Make sure "Enable Header Code Completion"

NOTE: I never use CC.

Tim S.
Title: Re: about IDE - why the functions prototype, from .h files aren't showed?
Post by: cambalinho on November 19, 2013, 09:24:42 pm
finally i fix it ;)
thanks for all.
on Global Compiler Settings -> Search Directories -> Compiler i had the folder incorrect and i fix it... now i have what i need.. thanks for all
i found it from here: http://comp.ist.utl.pt/bac/Prog1011.info1Sem/Software/manual_en.pdf
(page 17 "1.11.7 Auto complete")
thanks for all