[Implemented] Autocomplete structure fields in linked lists

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

[Implemented] Autocomplete structure fields in linked lists

Post by oreopa »

Sorry if this is already requested - I searched...

It would be really neat if autocomplete can also list the structured linked list fields....

Code: Select all

Structure generalobject
    type.c
    xpos.w
    ypos.w
    xspd.w
    yspd.w
    trans.w
EndStructure

Global NewList aliens.generalobject()
You type:

Code: Select all

aliens()\
Pressing CTRL+Space shows Autocomplete list with (preferably *ONLY*) the fields for the list.

Hope it makes sense. :D
Proud supporter of PB! * Musician * C64/6502 Freak
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

This is already upcoming in the 4.40 release. You can see it in action if you download the beta.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Autocomplete structure fields in linked lists...

Post by Demivec »

oreopa wrote:Sorry if this is already requested - I searched...

It would be really neat if autocomplete can also list the structured linked list fields....

Code: Select all

Structure generalobject
    type.c
    xpos.w
    ypos.w
    xspd.w
    yspd.w
    trans.w
EndStructure

Global NewList aliens.generalobject()
You type:

Code: Select all

aliens()\
Pressing CTRL+Space shows Autocomplete list with (preferably *ONLY*) the fields for the list.

Hope it makes sense. :D
Look at v4.40 beta 2. This beta seems to already implement what you have requested.
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

haha your seconds late ;)
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

Matt wrote:haha your seconds late ;)
Edged out again by the timer. :D
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Post by oreopa »

Haha. Cool beans. Thanx for the pointer... I guess i havent checked the blog / updates since a few days ;) Must have 4.40b1

Cheers! :D

EDIT: Damn it works exactly as I want it. :D

Btw: is there a PB Mailing list for betas? not so important, but it could remind me to check :D
Proud supporter of PB! * Musician * C64/6502 Freak
Post Reply