Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Richard on May 21, 2006, 01:57:52 pm

Title: Problem with code completion
Post by: Richard on May 21, 2006, 01:57:52 pm
How can I avtivate code completion.Do I ahve to ionstall a plugin extra and where would I get it from?
Thanks Berni
Title: Re: Problem with code completion
Post by: Szabadember on May 21, 2006, 02:42:43 pm
settings->editor

code completition is active by default
It won't work for namespaces.
Press: Ctrl+Space but it should launch automatically after typing some charachters...
Title: Re: Problem with code completion
Post by: Richard on May 21, 2006, 02:45:47 pm
Well it doesn`t.
Don`t know what to do!!
Berni
Title: Re: Problem with code completion
Post by: sethjackson on May 21, 2006, 02:54:00 pm
Well it doesn`t.
Don`t know what to do!!
Berni

What version of C::B do you have? I would get a nightly from here.

http://forums.codeblocks.org/index.php?board=20.0
Title: Re: Problem with code completion
Post by: fili on May 21, 2006, 09:59:24 pm
I had the same problem, until 5 minutes ago. I realized that the code-complete needs a build in order to function. Therefore, after creating a new function (let's say foo), if you write fo and hit ctrl+space, the code-completion isn's showing the foo function. But after a short ctrl+F9 (build), everything works just fine.
Title: Re: Problem with code completion
Post by: mandrav on May 21, 2006, 10:52:45 pm
I realized that the code-complete needs a build in order to function.

Actually, it needs you to save the file. Building saves it automatically...