User forums > Help

Code completion doesn't work...

(1/1)

SEMI-HYBRID code:
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

TDragon:
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.

iceberk:
Hi, guys. I have the same problem - code completion doesn't work for subclasses

OS: Windows XP
Code::Blocks version: svn build rev 3589

iceberk:
Problem is solved. I've just added this line

--- Code: ---using namespace Ogre;
--- End code ---

Navigation

[0] Message Index

Go to full version