Author Topic: auto-complete never pops up  (Read 3768 times)

mrpringle

  • Guest
auto-complete never pops up
« on: August 04, 2006, 01:59:43 am »
Hi,
I have a nightly build of codeblocks from a few days ago. I also tried the rc2 version, and none of them seem to pop up an autocomplete dialog like the screenshot on the homepage.

I know the feature isn't complete, but I'm just wondering whether a dialog should be popping up when I type :: or . or ->, etc, because nothing ever happens. I have checked the options and I have code completion turned on.

Can anyone comment on whether this feature does not work at all, or am I just doing something wrong? I think I must have an option set wrong because the picture on the homepage shows an autocomplete box popping up, but it never works for me.

Thanks

Offline SamT

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: auto-complete never pops up
« Reply #1 on: August 04, 2006, 02:53:02 am »
Although it not complete, my auto-complete works normally.

For example: when there are four variables named TextCtrl1~4. I only need to press "Text" then the auto-complete window pop up.

I work with WinXP, Version 1.0 revision 2811 ()   gcc 3.4.5 Windows/unicode

[attachment deleted by admin]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: auto-complete never pops up
« Reply #2 on: August 04, 2006, 10:28:06 am »
it depends on what you are doing.

For example when your code is in a namespace --> no codecompletion at all.

mrpringle

  • Guest
Re: auto-complete never pops up
« Reply #3 on: August 04, 2006, 10:29:57 am »
Well, to test it I just created a string variable and tried to see if I could get a list of methods associated with a string, but nothing came up. Then I tried getting a list of the methods which are part of wxwidgets. Then i created my own class and tried to see if I could get a list of those methods.
None which gave me any result.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: auto-complete never pops up
« Reply #4 on: August 04, 2006, 10:34:13 am »
C++ std stuff : indeed no code completion, not sure for wx stuf though.
Your own class strange, 'could'/'should' (sometimes) work.  ;-)