JEdit Plugin Add comment to Wiki View in Wiki Edit Wiki page Printable Version

To use Groovy from inside jEdit download this

http://plugins.jedit.org/plugins/?SuperScript

. You'll need a fairly recent jEdit distribution.

Right now BSF isn't yet released with inbuilt Groovy support so you have to add the following code to the startup script in

You can also add a startup.bsh script into your home directory at

Also you'll need to copy the groovy-all-1.0-jsr-XXXX.jar file into the jedit/jars directory.

Restart jEdit.

Open SuperScript dockable from Plugins Menu or Dockable area and choose "groovy" from the languages dropdown.

To test if groovy works fine or not, just try running some expression in the textbox or open some groovy script in jEdit and try "Executing Script".

Alternative Groovy mode

Oliver Rutherfurd has developed a Groovy mode for jEdit...

http://www.rutherfurd.net/jEdit/modes/groovy.xml

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.

Console Commando Plugin

Instructions:

1. Install Console plugin in jEdit.

2. Copy the attachment on this wiki: groovy.xml into your $HOME/.jedit/console/commando/groovy.xml

   (NOTE: I hardcoded my groovy path. Change it if it doesn't match yours.)

3. jEdit Menu: Plugins>Console>Regen menu.

4. jEdit Menu: Plugins>Plugin Options..., On left pick

Console>Compile&Run, Then select groovy file type and set your

compiler/interpreter to "groovy" selection.

Now you may open up any groovy script and Run Commando..., Default F5

will re-run the last command.

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified