Plugin: Script Tree for plugin writers

Browse, download and discuss plugins for Blumentals code editors

Plugin: Script Tree for plugin writers

Postby Aivars » Fri Mar 23, 2018 3:38 pm

This plugin will lists all classes and functions available for calling directly from plugins.

pluginscripttree.png
pluginscripttree.png (54.86 KiB) Viewed 12283 times


Note: the script tree is very slow during initialization and resizing so you might want to keep the panel closed during every-day use and just open it when you need it for reference.

Updates:
Version 1.1 - fixes panel visibility detection
Version 1.2 - small fix
Attachments
scripttree.zip
(1.49 KiB) Downloaded 638 times
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Postby pmk65 » Sat Mar 24, 2018 12:50 am

Great plugin! "The missing manual" :D

I found a couple bugs:

1) Dockpanel is blank if any other plugin running is creating a dockpanel in same location.
Try installing your own "docktest" test plugin. Then close and reload editor.

2) Some properties and procedures are listed multiple times.
Try expanding "TEdit", and you'll see "CopyToClipboard" 5 times. (Seems like it's the same block of properties/procedures that gets repeated)

Suggestion:

Add a search box, so you can search for properties/procedures etc.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Script Tree for plugin writers

Postby Aivars » Sat Mar 24, 2018 11:24 am

(1) Nice catch, I'll update the plugin. Apparently panel.Visible is not the same as panel.PanelVisible and the latter has to be used in this case for checking whether user has closed the panel.

(2) I think I know what causes this, I'll see if that can be fixed.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Postby Aivars » Sat Mar 24, 2018 11:50 am

Apparently "ready" signal is not fired when plugin is just installed. Will be fixed in next release.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Postby pmk65 » Wed Mar 28, 2018 11:59 pm

Small bug.
In line 29:
panel.PluginVisible

Shouldn't that be:
panel.PanelVisible

Btw: Is it possible to extend it so it also shows the available events? (onClick, onEnter etc.)
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Script Tree for plugin writers

Postby Aivars » Thu Mar 29, 2018 10:24 am

Fixed!

It does show the events, just as you already noticed the script tree does not show properties that are inherited from parent classes so (at least for now) you should look at the class and its ancestors to get the full picture.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Postby Will Fastie » Mon May 14, 2018 5:16 pm

+1. That's a handy tool for plug-in developers.
Will
WebDesignBuild.biz, Fastie.com
User avatar
Will Fastie
 
Posts: 160
Joined: Mon Jan 31, 2005 6:47 pm
Location: Timonium, MD USA


Return to Plugins for HTMLPad / Rapid CSS / Rapid PHP / WeBuilder

Who is online

Users browsing this forum: No registered users and 3 guests