Snippet chooser / paster (Insert_Snippet.bsh v1.0 by Mike Cline)
Submitted by Friday, 27 April, 2007 - 19:25
For pasting snippets of code (or any kind of text, really) into the current buffer.
You store all your snippets as separate text files in the c:\snippets directory (hard-code another location if you like). When you run the macro it pops up a JList selection box where you can choose which snippet to paste.
Macros for working with Partials (Partial_Macros.zip v0.2 by Panya)
Submitted by Friday, 2 March, 2007 - 22:04
Opens partial which name is selected (to select independently not necessarily if nothing is selected, selects the word under caret).
<%= render :partial => 'form' %> # select "form"(without quotes) and use macro will open _form.rhtml
Creates a partial from the selected text (asks for the partial name without _ and .rhtml) and replaces selected text with a <%= render :partial => 'partial_name' %> erb fragment.
generating/destroying macros for RoR developers (rormacros.rar v0.11 by Panya)
Submitted by Tuesday, 28 November, 2006 - 18:44
This is a macros for generating / destroying:
- Integration tests
This macros requires Console
For the correct working you must be in RoR project directory.
Tango! icon theme for toolbars (icons-toolbar-tango!.zip v0.9 by 13xforever)
Submitted by Monday, 26 March, 2007 - 06:04
These icons are intended to use as replacement for standard jEdit icons for toolbars.
As you may notice there's some icons left to reimplement in Tango! theme, so feel free to update.
Cg ([Not so]Basic) (Cg.xml v1.2 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 07:07
For more information you may see nVidia "C for Graphics" edit mode. (Cg.xml v0.2 by Klaus Post)
(I didn't saw it, but filesizes of our edit modes may mean nothing, so choose it for yourself :))
Gg Release 1.x source mode by 13xforever (email@example.com)
- Cg Release 1.2 (Feb 2004)
- new RegEx engine
SubRip (subrip.xml v1.1 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 07:13
SubRip is a somewhat popular subtitling format. Basic format allows only basic :) functionality such as timing and effects like italic, bold and underscore. But later extentions allows color definition and screen positioning (but that's not supported by this edit mode).
Simple SubRip subtitles mode by 13xforever (firstname.lastname@example.org)
Migration to new RegEx engine.
GLSlang (GLSlang.xml v1.10-r59 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 07:09
GLSlang Release 1.x source mode by 13xforever (email@example.com)
- GLSlang Version 1.10 Revision 59 (30-April-2004)
- new RegEx engine
Avisynth (avisynth.xml v2.56 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 07:04
Avisynth 2.5 script mode by 13xforever (firstname.lastname@example.org)
- Avysinth 2.56
YASM (yasm.xml v1.1 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 06:54
YASM launching commando file for 0.5.0 version.
NASM (nasm.xml v1.0 by 13xforever)
Submitted by Thursday, 22 March, 2007 - 05:29
NASM launching commando file. Supports almost all command line parameters.
Properties Abbrevs for SuperAbbrevs Plugin. (properties v1.0 by elberry)
Submitted by Monday, 12 March, 2007 - 15:02
These abbrevs are for the properties file mode.
They include abbrevs for creating jEdit plugins.
html named entities (html_named_entities.bsh v1.5 by Johannes Raggam)
Submitted by Thursday, 29 June, 2006 - 16:35
converts special characters to html entities.
based on recorded macro (search/replace) and entity list from http://de.selfhtml.org/html/referenz/zeichen.htm
keeps the search settings as is.
the JTidy plugin has also this function, but maybe this beanshell macro is still useful for someone.
## NEW VERSION ##
including ISO-8851-2 charset
may also be faster
the CHARSET of the macro is UTF-8,
set your file temporary (or permanent) to UTF-8, otherwise the search will nothing find to replace.
edit the macro to fit your needs - for sure there are many characters from many charsets left.
### PLEASE NOTE ###
the file is in UTF-8 encoding. your file where you want to replace characters also has to be in utf-8, otherwise there will be no effect! so: CONVERT YOUR FILE IN UTF-8 BEFORE running the macro and convert it back afterwards.
if someone knows a beanshell commands to read and set the charset-encoding of an file, let me know - so this task could be automated. --> raggam at adm dot at
### / PLEASE NOTE ###
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by Sunday, 11 February, 2007 - 17:39
Only for Arch Linux users.
Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
Runs makepkg for the current opened PKGBUILD-file (Make_arch_package.bsh v0.1 by Dmitry Stropaloff)
Submitted by Sunday, 11 February, 2007 - 17:35
Only for Arch Linux users.
Runs makepkg command for the opened PKGBUILD-file. You need a Console plugin.
PKGBUILD edit mode (pkgbuild.xml v0.1 by Dmitry Stropaloff)
Submitted by Sunday, 11 February, 2007 - 17:04
Edit mode for PKGBUILD files (Arch Linux).
Add the following line to your modes/catalog file
<MODE NAME="PKGBUILD" FILE="pkgbuild.xml" FILE_NAME_GLOB="PKGBUILD" />
Show number of selected lines and characters (Show_Number_Of_Selected_Lines_And_Characters.bsh v1.0 by Stickman)
Submitted by Friday, 2 February, 2007 - 11:02
A very simple script that shows a status bar notification of how many lines and characters are currently selected, and how many selections there are (if more than one).
Please note: this macro doesn't appear to work unless it's assigned to a shortcut key (i.e. triggering it via the Macros menu does nothing).
A 'Go to definition' code browser macro. (Open_Selected_Class.bsh v1.3 by Steve Ewart)
Submitted by Wednesday, 12 May, 2004 - 20:08
Highlight a class name, run the macro and it will automatically open the source for that class.
Similar to "Go to definition" in Visual Studio. Very useful when browsing source code. Could not imagine coding Java in JEdit without this.
It can access many different source paths; your projects source, JDK source, etc. Just modify the 'searchPath' at the top of the macro to reflect where your JDK source code (or any source code) is located.
Source code for the highlighted class will be opened if:
The cursor is on a class name in any part of the file AND
there is a import for the class OR
there is a wildcard import containing the class OR
the class is in the current package (current directory) OR
the class is in the java.lang source directory (searchPath must be set)
the class is in a different project than current project (searchPath must be set)
The cursor is on a line with an import statement
A fully qualified class is highlighted (not necessarily an import statement)
It cannot open a file if the package cannot be appended to any part of the current file's directory structure.
It only works with java files, other languages are not supported.
Will only find (scroll to) inner classes if it is in an import.
A Macro to set folding mode on all open buffers. (Set_Foldhandler.bsh v0.0 by elberry)
Submitted by Wednesday, 31 January, 2007 - 17:50
This Macro prompts you for the folding mode you want "explicit, indent, none, java, etc..."
It then sets the folding mode on all open buffers.
Auto auto completer (Auto auto completer.rar v0.01 by Lei Yang)
Submitted by Wednesday, 17 January, 2007 - 18:46
Automatically triggers auto complete for sidekick as you type
Find First Unmatched Brace (Find_First_Unmatched_Brace.bsh v0.1 by Sune Simonsen)
Submitted by Sunday, 14 January, 2007 - 20:02
This macro places the caret before the first brace that does not have a matching brace.