IDE: Autocomplete for structure-entries

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

IDE: Autocomplete for structure-entries

Post by AND51 »

Hello!

I think it would be a nice feature to have an autocomplete window for structures:

Code: Select all

Structure structure_mydata
   example.s
   pureNumber.l
   pureString.s
EndStructure

NewList myList.structure_mydata()

Debug myList()\pur|
The | should represent the cursor. In this exmaple, there should be a popup, listing all items from "structure_mydata".
In my opinion, this is very useful, because otherwise, you must scroll up/down everytime to see which items you've got.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

+1
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

I don't understand... :?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

I think he agrees, me too!
I like logic, hence I dislike humans but love computers.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Ah, ok. Thanks! :)
PB 4.30

Code: Select all

onErrorGoto(?Fred)
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Yes, would be a nice feature :)
Windows 7 & PureBasic 4.4
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

+1

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

yes, it would be an important feature.

and also for interfaces when programming in OOP style :idea:
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

I'm agree with Flype !
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

No opinion @ PB Team? :o
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Leonhard
User
User
Posts: 55
Joined: Fri Jun 16, 2006 7:43 am

Post by Leonhard »

+1
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

AND51 wrote:No opinion @ PB Team? :o
Do i really have to comment all your requests now !? :)

Well, it would be a nice feature for sure, but i don't see it happening any time soon.
The reason is that the IDE does not collect the needed data right now (which variable/list is of which type)
so it cannot display such information. I may add that someday, but not for
now as i have many other projects in line.
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 »

> Do i really have to comment all your requests now
This is a request that is more important than some of my other requests, because there is more appreciation by the other coders in this forum.
If PB-team wants feedback from us regarding bug-hunting and improvements, we want to have feedback from the PB Team, too. Where's the problem? :D

I don't expect a long description, one or two sentences would be enough.


> I may add that someday [...]
Ah, that's a useful information! Better than saying nothing.
PB 4.30

Code: Select all

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

Post by freak »

The problem is time. I do not have enough of it as it is to do all the PB work i want to,
so i do not want to spent my time answering to each and every request.
A search for your name shows 48 topics here, if i were to spend 5 minutes explaining
for each of them why or why not we will implement this, i will have wasted 4 hours of my time.

Besides that, the usual answer is "maybe, but not in the near future" anyway,
since I will not make any promises on stuff that is not certain and usually
do not know myself wether something will someday be added or not.
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 »

It's your choice which threads you respond too.
I do fully understand you situation, but please understand mine, too: How should I and others know if the requests are good? If you don't answer, I could think that my request is bad and completely unneccessaryly.
By giving a short respond ("someday..." or even "added to my todo list..") you give the community the feeling, that it did an aid to PureBasic. Without this I could stop submitting improvements and bugs due to insufficient feedback.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Post Reply