Often I know exactly which PB library I want to use a command from (Database, File, etc.), but can't think of the exact command name, so ...
Within the IDE source code editor it might be handy to have the ability to pop up a list of PB commands based not on the first few letters you have typed in, but by choosing a specific PB library from a list.
In a sense similar to the way AutoComplete works, except that you would perhaps enter a specific key-stroke combination which would then pop up a list of ALL the available PB libraries.
From that list you choose which library you want, it would then CASCADE to another list of all the PB commands IN that specific library only.
Just like with the AutoComplete list, you then choose which command you want and it's inserted into your code at the point where you hit the original key-stroke combination.
Alternatively, maybe it could be done from the right-click popup menu in the source code editor.
Right-click Menu > Libraries > (cascade to a list of PB libraries from which you choose one) > (cascade to a list of PB commands IN that library from which you choose one) --> inserts that PB command into your code.
IDE - PB command list BY library
Re: IDE - PB command list BY library
I just use the help file for this.
Re: IDE - PB command list BY library
The help file inserts the code into your source for you, like AutoComplete does?eesau wrote:I just use the help file for this.
Re: IDE - PB command list BY library
No but Ctrl+C and Ctrl+V do
Much faster than any cascaded menus.
It's not a bad suggestion though, could be useful.

It's not a bad suggestion though, could be useful.
Re: IDE - PB command list BY library
It's not just that, you also don't have to switch back and forth between the help file.eesau wrote:No but Ctrl+C and Ctrl+V doMuch faster than any cascaded menus.
It's not a bad suggestion though, could be useful.
But the key point is you don't have to remember the command, you just bring up the library and choose the command.
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: IDE - PB command list BY library
Interesting request. I can see it would be handy.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: IDE - PB command list BY library
I'll try to throw together a prototype.
Any suggestions on how to get all the PB library names and associated commands ... without having to type them in manually!
Any suggestions on how to get all the PB library names and associated commands ... without having to type them in manually!

Re: IDE - PB command list BY library
If anyone knows of a way to extract all the PB commands and the associated library either to a CSV or XML (or other), please let me know.
Thanks
Thanks
-
- Enthusiast
- Posts: 112
- Joined: Wed May 13, 2009 8:38 am
- Location: Arizona, USA
Re: IDE - PB command list BY library
This thread might be of help to you.USCode wrote:If anyone knows of a way to extract all the PB commands and the associated library either to a CSV or XML (or other), please let me know.
Thanks
File format of the user libs ?
http://forum.purebasic.com/english/view ... 13&t=49874