Code::Blocks Forums

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

Poll
Question: How can I avtivate code completion.Do I ahve to ionstall a plugin extra and where would I get it from?
Option 1: ctrl+space votes: 0
Option 2: ctrl+shift+space votes: 0
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
Quote from: Richard on May 21, 2006, 02:45:47 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.next.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
Quote from: fili on May 21, 2006, 09:59:24 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...