Page 1 of 1

AutoComplete does not work with <almost anything>

Posted: Thu Sep 13, 2007 6:18 pm
by AND51
Hello!

I set the preferences like this:
- Auto Complete ON
- Display only words that are beginning with the typed word ON
- Add space after... ON
- Automatically popup the auto complete window ON
- Disable/Comments ON
- Disable/Strings ON
- 3 Characters needed to open the list

This works perfectly for me, in 3.94 and 4.0x but not in 4.10 BETA 3.

Procedures, Constants and Variables are shown.

But when it goes to Macros, Variables not defined with Define, Arrays, LinkedLists, the list does not popup.

I checked everything at "Display items" in the preferences.

Posted: Thu Sep 13, 2007 6:30 pm
by AND51
Sorry, I really didn't see that this has been reported here already: http://www.purebasic.fr/english/viewtopic.php?t=28288

Posted: Sat Sep 15, 2007 11:58 am
by BI2

Re: AutoComplete does not work with <almost anything>

Posted: Sat Sep 15, 2007 12:36 pm
by PB
Try with a new prefs file, because it sure as hell works just fine for me. :)

Posted: Sat Sep 15, 2007 1:30 pm
by Kaeru Gaman
Variables not defined with Define
ermn... I thought that was normal?

here with 4.02 on-the-fly-Variables are not autocompleted,
only explicitely Define-d ones.
..this is just normal to me.. :?

Macros, Array and Lists are shown for sure...

Posted: Sat Sep 15, 2007 2:36 pm
by AND51
Kaeru Gaman wrote:
Variables not defined with Define
ermn... I thought that was normal? here with 4.02 on-the-fly-Variables are not autocompleted
Oh yes, now I remember.
Unfortunately, also Variables defindes with Static, Protected, Shared and Global are not auto-completed.

Posted: Sat Sep 15, 2007 4:59 pm
by PB
> Variables defindes with Static, Protected, Shared and Global are not auto-completed.

Even with a default prefs file?

Posted: Sat Sep 15, 2007 6:01 pm
by AND51
> Even with a default prefs file?
Do you mean, that I should delete my profile and let the IDE use the default profile?
I just use the default profile and said the IDE that it should auto-complete everything.

Posted: Sun Sep 16, 2007 1:27 am
by PB
Yes, I mean backup your current prefs file, then delete it so PureBasic starts
up with a default one, then turn AutoComplete on. It will work. Give it a go.

Posted: Sun Sep 16, 2007 12:12 pm
by AND51
Hey!

I renamed \PureBasic\PureBasic.prefs and %appdata%\PureBasic\Purebasic.prefs so, that the IDE cannot find it.

When I started the IDe, it really hat the default settings. I swicthed on AutoComplete, but it really didn't work.
Only PB-Keywords, like Debug were completed. But my own macros, for example, didn't work. :?

Posted: Sun Sep 16, 2007 4:43 pm
by freak
This is fixed for the next release... just wait.

Posted: Sun Sep 16, 2007 6:14 pm
by AND51
Hey freak!

Thank you, nice to hear that! :wink: