Autocompletion for structures fields

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Autocompletion for structures fields

Post by luis »

I saw the autocompletion for structures/interfaces works for the instances of the structures/interfaces, not the definition of the structure itself.

Code: Select all

Structure T_TEST
field1.i
field2.i
field3.i
EndStructure

Define val, ttt.T_TEST

ttt\field2 = 1 ; ttt\ < fields are listed

val = OffsetOf(T_TEST\field2 ) ;  T_TEST\ < fields are NOT listed

But in the case of the OffsetOf() would be nice to have it. I would say one is expecting it to pop up... so maybe it should extended to the structure's definition too ?
"Have you tried turning it off and on again ?"
A little PureBasic review