PBTool Include procedure() finder etc

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

PBTool Include procedure() finder etc

Post by Zebuddi123 »

Hi to All

Another little tool working but not finished, lists all includes in the pb\include dir and all the procedures etc in a treeview.

suggestions constructive criticism welcome

Zebuddi. :)

MD5 079547f2b586fa29a5a5befb007fafa7
http://goo.gl/mXKkL
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
STARGÅTE
Addict
Addict
Posts: 2234
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PBTool Include procedure() finder etc

Post by STARGÅTE »

Any Help to this tool?
How to add a file?
What are the parameters?
Nothing happens at all the buttons.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: PBTool Include procedure() finder etc

Post by Zebuddi123 »

Sorry Startgate :oops:

It should autoread the purebasicpath()\include\ folder add all the includes and scan for procedures() required includefiles and imported functions. identify returns ie .s .l .w etc with a "returns a string" etc at end of proc name in the list.

buttons:
expand all, close all, as name implies.

reload - reloads if new includes added to dir

empty space for search -(not implemented yet tommorrow)

add include to editor - inserts selected include in to top of the current source in editor (not implemented yet tommorrow)

write to file - will allow to add procedures from clipboard as a new procedure() to that file etc (not implemented yet tommorrow)

Im no programming Guru like some of the community here, just having some fun and ideas and if whats useful for me is useful for other members of the pb community then thats a bonus

Zebuddi. :)

Must be half asleep :? no param required run as a tool from ide or stand alone !!!
Last edited by Zebuddi123 on Wed Apr 25, 2012 3:09 am, edited 1 time in total.
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
STARGÅTE
Addict
Addict
Posts: 2234
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PBTool Include procedure() finder etc

Post by STARGÅTE »

ok, i have add this folder, but i get only status bar text: "59 Inlcude Files" but no list with this includes and no list with procedures.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: PBTool Include procedure() finder etc

Post by Zebuddi123 »

This is what you should be getting

http://s19.postimage.org/vwki9nv83/ipf2.jpg

http://s19.postimage.org/fzlqcy2tv/ipf1.jpg

not tested it on anything except w7 x64

all though i have all OS`s i`ll install them in vbox tommorrow and test it in linux and OSX too

path to include dir is path$=PureBasicPath()+"include\"

which should pull up the correct path for the include folder :!:

zebuddi. :)
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
STARGÅTE
Addict
Addict
Posts: 2234
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PBTool Include procedure() finder etc

Post by STARGÅTE »

Zebuddi123 wrote:path to include dir is path$=PureBasicPath()+"include\"
you mean #PB_Compiler_Home+"include\"

your program find the inlcude files, but i get not tree items.
Use WIN-API for the gadget, which is only for Win7?

(i use Windows XP 32Bit)
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: PBTool Include procedure() finder etc

Post by Zebuddi123 »

@ startgate no win api`s all native pb procedures

tested on xp 32 sp3 works fine

Zebuddi.
malleo, caput, bang. Ego, comprehendunt in tempore
Post Reply