Author Topic: Code completion doesn't work...  (Read 3744 times)

SEMI-HYBRID code

  • Guest
Code completion doesn't work...
« 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


Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code completion doesn't work...
« Reply #1 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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

iceberk

  • Guest
Re: Code completion doesn't work...
« Reply #2 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
« Last Edit: February 10, 2007, 08:07:48 pm by iceberk »

iceberk

  • Guest
Re: Code completion doesn't work...
« Reply #3 on: February 14, 2007, 12:23:17 am »
Problem is solved. I've just added this line
Code
using namespace Ogre;