To use Groovy from inside jEdit download this
| Wiki Markup |
|---|
{link:plugin|http://plugins.jedit.org/plugins/?SuperScript}{link} |
Right now BSF isn't yet released with inbuilt Groovy support so you have to add the following code to the startup script in
...
| Code Block |
|---|
<user.settings.home>/.jedit/startup/startup.bsh |
| Code Block | ||
|---|---|---|
| ||
org.apache.bsf.BSFManager.registerScriptingEngine(
"groovy","org.codehaus.groovy.bsf.GroovyEngine",new String[]{"groovy","gv"}
);
|
...
| Code Block |
|---|
~/.jedit/catalog entry:
<MODE NAME="groovy" FILE="groovy.xml"
FILE_NAME_GLOB="*.{groovy,grv}"/>
|
The Groovy mode for jEdit is in the SVN since July, 9th 2004.
It is included in standard jEdit setup.
In order to know if you have this mode, check that the file <jEdit_Home>/modes/groovy.xml exists.