AutoComplete does not work with <almost anything>

Working on new editor enhancements?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

AutoComplete does not work with <almost anything>

Post 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.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Sorry, I really didn't see that this has been reported here already: http://www.purebasic.fr/english/viewtopic.php?t=28288
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
BI2
User
User
Posts: 12
Joined: Sun Jul 22, 2007 6:56 pm
Location: Germany

Post by BI2 »

PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: AutoComplete does not work with <almost anything>

Post by PB »

Try with a new prefs file, because it sure as hell works just fine for me. :)
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post 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...
oh... and have a nice day.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post 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.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Variables defindes with Static, Protected, Shared and Global are not auto-completed.

Even with a default prefs file?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post 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.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post 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.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post 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. :?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

This is fixed for the next release... just wait.
quidquid Latine dictum sit altum videtur
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Hey freak!

Thank you, nice to hear that! :wink:
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Post Reply