Code::Blocks Forums

User forums => Help => Topic started by: SEMI-HYBRID code on February 09, 2007, 10:54:42 pm

Title: Code completion doesn't work...
Post by: SEMI-HYBRID code on February 09, 2007, 10:54:42 pm
First one warning: I'm new to C++, and i'm new to Code::Blocks, but:

there's one thing that looks really weird to me: when i want code-completion to pop up, i have to press Ctrl+Space, and i've read somewhere in here something about the automatic one... okay, i could survive that, but: when i want to access sub-class/variable/function, no completion pop-ups for that at all!
not after ".", nor "::", nor "->"! and not even after hitting Ctrl+Space again...

...isn't that strange?

my Code Completion settings:
Parser tab: everything checked
Code Completion tab: everything UNchecked, delay set to 1, but i think that doesn't matter
Cache tab: everything checked

Title: Re: Code completion doesn't work...
Post by: TDragon on February 09, 2007, 11:03:47 pm
I'll assume from your description of the settings that you aren't using a recent nightly build -- but it's always a good idea to include the versions of both Code::Blocks and your OS in posts requesting help.

My recommendation? Use a recent nightly. It'll solve most of your problems.
Title: Re: Code completion doesn't work...
Post by: iceberk on February 10, 2007, 07:42:48 pm
Hi, guys. I have the same problem - code completion doesn't work for subclasses

OS: Windows XP
Code::Blocks version: svn build rev 3589
Title: Re: Code completion doesn't work...
Post by: iceberk on February 14, 2007, 12:23:17 am
Problem is solved. I've just added this line
Code
using namespace Ogre;