Import/Export individual tools

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Import/Export individual tools

Post by MachineCode »

Quite often we see tools announced where the author says "put %FILE as the param, tick this box, disable that box" etc, and often a screenshot is included to show what they mean, to install the tool properly. Yuck!

Why not have an import/export option (to/from the clipboard mind you) so the tool author can just post something like this:

Code: Select all

; START TOOL
Commandline=Tools\whatever.exe
Arguments=whatever
... You get the idea ...
; END TOOL
So much easier for end users to install a tool, instead of manually typing everything, because all we need to do is copy the block of text and click a new "Import" button from the "Configure Tools" dialog. The Export function would create a block of text like the above that the tool author can post to these forums.

Obviously any exe for the tool would have to be manually placed in a folder somewhere, but the IDE could have its own special "Tools" folder for those, too (see "Commandline" in the code block above). The user would just drop the exe into that folder and the import function would see it based on "Commandline" above. So easy and perfect!

I can't see any downsides? :)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: Import/Export individual tools

Post by uwekel »

Nice idea, machinecode!
The only downside is that all bugs have to wait a bit longer to get fixed :-)
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Post Reply