IDE: Tool-Panel variables should access linkedlist elements

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

IDE: Tool-Panel variables should access linkedlist elements

Post by CSAUER »

It would be very helpful for code editing, if there would be a tree structure in tool-panel "variables", where I can directly access linked lists with their elements.

For example:

Code: Select all

Structure TestStruct                                                                           
  testString.s
  testLong.l
EndStructure

Global NewList testList.TestStruct()
This should be displayed on "variables" tool-panel as:
[+] testList
|- testString
|- testLong

A double-click on "testString" should automatically insert "testList()\testString" to the actual code position.

Perfect would be additionally, if you can draw the icon for variable types - so that we directly know what kind of type we are dealing with.

For me, this would be a great help, as this does not come with syntax completation. Actually I am endlessly scrolling within my code, to figure out the structures item name.

What do you think about this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

I second this!

An autocomplete for structured linked lists would be very nice.

If you type:

MyList()\

the autocomplete box should open with the variables inside the structure.
Tranquil
Post Reply