Plugin: Script Tree for plugin writers

Browse, download and discuss plugins for Blumentals code editors
Post Reply
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Plugin: Script Tree for plugin writers

Post by Aivars »

This plugin will lists all classes and functions available for calling directly from plugins.
pluginscripttree.png
pluginscripttree.png (54.86 KiB) Viewed 25410 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 2019 times
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Script Tree for plugin writers

Post by pmk65 »

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
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Post by Aivars »

(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: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Post by Aivars »

Apparently "ready" signal is not fired when plugin is just installed. Will be fixed in next release.
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Script Tree for plugin writers

Post by pmk65 »

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
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Script Tree for plugin writers

Post by Aivars »

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
Will Fastie
Posts: 160
Joined: Mon Jan 31, 2005 6:47 pm
Location: Timonium, MD USA
Contact:

Re: Plugin: Script Tree for plugin writers

Post by Will Fastie »

+1. That's a handy tool for plug-in developers.
Will
WebDesignBuild.biz, Fastie.com
Post Reply