jEdit Community - Resources for users of the jEdit Text Editor
NetRexxScript plugin
Submitted by kermit on Sunday, 1 November, 2009 - 22:31
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? Eye-wink

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
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293