NetRexxScript plugin
Submitted by Sunday, 1 November, 2009 - 22:31
on
Newbie plugin developer here. I have a new plugin ready for beta testing. It adds support for NetRexx macros/scripts in jEdit. (Before anyone mentions the SuperScript plugin - yes I know about it and [A] it doesn't work, [B] BSF 2.x NetRexx support is slower than molasses, [C] it has no real features for practical use, [d] and did I mention that it doesn't work?
Should I upload it here first since it may not be production quality yet and I am not really sure it is in the right format for Plugin Central? Can anyone check it out and give pointers on the next steps? I will try to do the submit process to sourceforge also when I get time.
By the way, even if you don't want to learn anything about NetRexx, this plugin supports compiled Java classes as jEdit macros also so it may have a wider appeal. Anyway here is the announcment that I posted to the NetRexx mailing list:
The NetRexxScript plugin for jEdit is now feature complete and ready for beta testing.
Here are the main features:
* Efficient execution of NetRexx scripts and macros in jEdit
* Optional caching of parsed scripts to improve performance
* Option to "preparse" all available scripts as a unit for performance (aka "greased lightning mode") and cross-script access support
* Option to suppress or allow trace output
* Options to execute a currently open NetRexx file including unsaved changes
* Optional dockable console window with command line to run scripts with parms and view say output or respond to ask input
* View say output with or without trace from the console window to aid debugging
* Option to "prefix" scripts automatically adds access to jEdit functions and variables
* Script parse errors are automatically highlighted in script source files and listed in the "Error List" as well as displayed in a console window
* User defined "classpath" option for making classes available to NetRexx scripts
* User defined "scriptpath" option for access to scripts outside of jEdit macro libraries
* Support for executing compiled NetRexx scripts or any "main" type Java class file as a macro or console command
* Includes an updated version of the "NetRexx at Once" cross reference guide to Java and NetRexx
Here are the distributions:
Binaries -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.tgz
Binary plus source -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.tgz
Help document:
http://kermitkiser.com/NetRexx/Script/NetRexxScript.html
To install, download and unzip a distribution file, copy NetRexxScript.jar and NetRexxC.jar to your jEdit profile "jars" directory, then restart jEdit. The jars directory is probably "C:\Documents and Settings\username\.jedit\jars" on Windows or "/home/username/.jedit/jars" on Linux.
To verify the install, select Plugins => NetRexxScript => NetRexxScript to open the console window, dock it at top or bottom, then select Macros => NetRexx to run the included sample scripts or just type some NetRexx in a new edit window and click the "Run current" button in the console.
Please let me know if there are any problems.
-- Kermit
Should I upload it here first since it may not be production quality yet and I am not really sure it is in the right format for Plugin Central? Can anyone check it out and give pointers on the next steps? I will try to do the submit process to sourceforge also when I get time.
By the way, even if you don't want to learn anything about NetRexx, this plugin supports compiled Java classes as jEdit macros also so it may have a wider appeal. Anyway here is the announcment that I posted to the NetRexx mailing list:
The NetRexxScript plugin for jEdit is now feature complete and ready for beta testing.
Here are the main features:
* Efficient execution of NetRexx scripts and macros in jEdit
* Optional caching of parsed scripts to improve performance
* Option to "preparse" all available scripts as a unit for performance (aka "greased lightning mode") and cross-script access support
* Option to suppress or allow trace output
* Options to execute a currently open NetRexx file including unsaved changes
* Optional dockable console window with command line to run scripts with parms and view say output or respond to ask input
* View say output with or without trace from the console window to aid debugging
* Option to "prefix" scripts automatically adds access to jEdit functions and variables
* Script parse errors are automatically highlighted in script source files and listed in the "Error List" as well as displayed in a console window
* User defined "classpath" option for making classes available to NetRexx scripts
* User defined "scriptpath" option for access to scripts outside of jEdit macro libraries
* Support for executing compiled NetRexx scripts or any "main" type Java class file as a macro or console command
* Includes an updated version of the "NetRexx at Once" cross reference guide to Java and NetRexx
Here are the distributions:
Binaries -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.tgz
Binary plus source -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.tgz
Help document:
http://kermitkiser.com/NetRexx/Script/NetRexxScript.html
To install, download and unzip a distribution file, copy NetRexxScript.jar and NetRexxC.jar to your jEdit profile "jars" directory, then restart jEdit. The jars directory is probably "C:\Documents and Settings\username\.jedit\jars" on Windows or "/home/username/.jedit/jars" on Linux.
To verify the install, select Plugins => NetRexxScript => NetRexxScript to open the console window, dock it at top or bottom, then select Macros => NetRexx to run the included sample scripts or just type some NetRexx in a new edit window and click the "Run current" button in the console.
Please let me know if there are any problems.
-- Kermit