jEdit Community - Resources for users of the jEdit Text Editor


Macros written especially for jEdit. Currently jEdit has built-in support for macro scripts written in BeanShell, an interpreted dialect of Java. BeanShell is easy to learn, especially if you have experience with Java, C++, or other object-oriented languages. Using BeanShell macros can help automate routine tasks and can extend jEdit's features with a minimum of coding. With the JythonInterpreter plugin, jEdit can also process scripts written in Python. These macros can also be used to make jEdit more productive for you.

  • BeanShell Macros (152)
  • Jython Macros (1)
  • Macro Bundles (9)
    Macros contained in zip, gzip, or anything besides plain text format. Macros uploaded in this format will not be available through the Macro Manager plugin.

mergLine macro (MergLine.bsh v1.0 by Jia Zhiming)
Submitted by jiazhimi on Wednesday, 14 April, 2004 - 10:05
The macro merg lines of text into one comma divided line similar to " in ('a','b','c')" and copy the line. It works with line containing numbers or text. so " in (1,2.2,4.35)" also possible. It is mainly to help create SQL from some existing data.

Updated on 04/14/2004 - 10:05
Downloads: 1769

Model/Controller Switcher for RoR developers (toggle_model_controller.bsh v0.1 by vovan)
Submitted by vovan on Monday, 15 May, 2006 - 10:40
The macros opens a Controller file in the current buffer if you're editing a Model and vice versa.

Updated on 05/15/2006 - 10:40
Downloads: 1143

Open Selection with Extension (Open_Selection_with_Extension.bsh v1.0 by Gael Ecorchard)
Submitted by galou on Thursday, 19 March, 2009 - 08:25
Opens the file which base name is the selected text and which extension is identical to the one of the file where the text is selected - creates the file if it does not exist.

Updated on 03/19/2009 - 08:25
Downloads: 708

Paste_Around (Paste_Around.bsh v0.2 by Gael Ecorchard (galou))
Submitted by galou on Tuesday, 28 August, 2007 - 12:57
Paste the content of register 'a' before the selection (prefix) and the content of register 'e' after the selection (suffix) Usage: - select the prefix part and paste it into register 'a' (C-r C-c a) - select the suffix part and paste it into register 'e' (C-r C-c e) - select something and use the macro. Works also with empty selection. Does not work yet with multiple selections and rectangular ones (error message) Best used with a shortcut like CS-v

Updated on 08/31/2007 - 07:02
Downloads: 752

perltidy.bsh v1.0 by Ygramul
Submitted by Ygramul on Saturday, 17 December, 2005 - 21:05
A quick way to `perltidy` the current buffer, results (and/or errors) being displayed in a new buffer.

Updated on 12/18/2005 - 00:37
Downloads: 1131

PHP Lint Macro (PHP_Lint.bsh v1 by Unknown)
Submitted by sam on Thursday, 1 April, 2004 - 21:59
Requires Console plugin. A BeanShell to syntax check your PHP buffer.

Updated on 04/01/2004 - 21:59
Downloads: 1370

PYP5 macro to launch commando file (PYP5.xml v0.1 by Martin Prout)
Submitted by monkstone on Wednesday, 11 September, 2013 - 12:45
Simple macro to use with commando file

Updated on 09/11/2013 - 12:45
Downloads: 1552

rp5.bsh v1.0 by monkstone
Submitted by monkstone on Sunday, 15 December, 2013 - 08:21
Macro for setting GEM_HOME and GEM_PATH environmental variables and calling rp5 commando menu

Updated on 12/15/2013 - 08:21
Downloads: 1236

Select Super Abbrev (Select_Super_Abbrevs.bsh v1.0 by Jim Morris)
Submitted by wolfmanjm on Sunday, 26 November, 2006 - 20:24
Type in part of an abbreviation and hit the shortcut (I use Alt-Space), and a list of all the abbreviations in the current mode that match is shown, you can then select the one you want. You can choose another mode and it will show you the matching abbrevs from that mode, and you can select from that list. Only works with the current beta of SuperAbbrevs. Jedit >= 4.2final.

Updated on 11/26/2006 - 20:24
Downloads: 1048

Taskbar macro (html_taskbar.bsh v1 by Jerome)
Submitted by jerome on Tuesday, 6 April, 2004 - 07:57
This macro illustrates the creation of a simple taskbar. In this example, the taskbar allows easy editing of HTML documents by inserting some tags, but it will be easily customized.

Updated on 04/06/2004 - 07:57
Downloads: 1567

There are 480 downloads in our database
User login
Browse archives
« February 2018  
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
Yes, I'd like to have translations
No, that'd be bad (please comment)
Total votes: 1092
file   ver   dls
German Localization light   51056
Context Free Art (*.cfdg)   0.31   41260
JBuilder scheme   .001   17053
BBEdit scheme   1.0   16658
ColdFusion scheme   1.0   16636
R Edit Mode - extensive version   0.1   14919
Advanced HTML edit mode   1.0   14092
Matlab Edit Mode   1.0   14038
jEdit XP icons   1.0   13463
XP icons for jEdit   1.1   12487