News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code completion doesn't work...

Started by SEMI-HYBRID code, February 09, 2007, 10:54:42 PM

Previous topic - Next topic

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.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

iceberk

#2
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
using namespace Ogre;