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
Macro to insert comment token and indent (XEnter.bsh) (XEnter.bsh v0.1 by Gael Ecorchard (galou))
Submitted by
galou on
Thursday, 30 August, 2007 - 12:51
insert new line, then behaves
either as normal insert enter and indent, if the line is a normal code line
or insert the line comment token and indent the line if the current line
is a comment
Usage:
- use the macro at the end of a comment line
Best used with a shortcut like S-Enter
Fullscreen macro (TrueFullscreen.bsh v0.1 by k3rni)
Submitted by
k3rni on
Tuesday, 7 August, 2007 - 09:20
A simple macro that toggles jEdit window to/from fullscreen mode. Disables window manager decorations, and sets the VM fullscreen window.
Works well on Linux. Windows testing shows that fullscreen window behavior is somewhat different.
Go to file on current line Rails specific macro. (Go_To_File_On_Current_Line.bsh v0.4 by Panya)
Submitted by
Panya on
Friday, 27 April, 2007 - 14:28
This is a Ruby on Rails specific macro which ported from TextMate Rails bundle 'Go To File on This Line' command. Just go to line which contain any file name(action name, controller name, javascript file name, stylesheet file name, partial name, layout name) and use the macro will open this file. This macro requires ProjectViewer plugin.
P.S. Open_Partial macro is not needed now.
Eclipse CDT scheme (MyEclipse.jedit-scheme v0.1 by Shlomy Reinstien)
Submitted by
shlomy on
Thursday, 5 July, 2007 - 09:51
This editor scheme is more or less like the one used by the Eclipse CDT.
OMBPlus Edit Mode (ombplus.xml v0.1 by Uwe Pliha)
Submitted by
uhuebner on
Tuesday, 26 June, 2007 - 13:11
Syntax Highlighting for OMBPLUS (Oracle Warehouse Builder Scripting Language)
Mainly took the TCL mode from Michael Jacobson and added OMBPlus-keywords
new ruby language mode (ruby.xml v0.7.0 by Jim Morris)
Submitted by
wolfmanjm on
Friday, 18 May, 2007 - 22:41
Note This version is probably incompatible with the ruby macros and ruby plugin, it is intented for those that want correct ruby auto indentation without the other ruby plugin features.
Works with Jedit >= 4.3pre9.
I use the new unindentThisLine and unindentNextLines and the ElectricKeys to do the indentation.
Basically the improvements are...
1. else, elsif, rescue, end - will unindent immediately when you type the final character just like } does (ie e from else f for elsif d from end etc the electric part of ElectricKeys)
2. added support for blah.each do |f| syntax which now indents correctly
There is at least one unfortunate side effect which doesn't seem to bother me too much (YMMV),
if you type some manual indentation at the start of the line, and then one of the electric keys (d e f) the line will indent to the current indentation level.
PHP Edit Mode (php.xml v1.0 by Stacey Abshire)
Submitted by
sabshire on
Tuesday, 22 May, 2007 - 15:29
Updated the PHP Mode by blueyed to include proper highlighting of the "instanceof" construct. instanceof is highlighted as OPERATOR and the class name that follows is highlighted as KEYWORD4.
Snippet chooser / paster (Insert_Snippet.bsh v1.0 by Mike Cline)
Submitted by
mikecline on
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
Panya on
Friday, 2 March, 2007 - 22:04
1.
Open_Partial.bsh
Opens partial which name is selected (to select independently not necessarily if nothing is selected, selects the word under caret).
Example:
<%= render :partial => 'form' %> # select "form"(without quotes) and use macro will open _form.rhtml
2.
Create_Partial_From_Selection.bsh
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
Panya on
Tuesday, 28 November, 2006 - 18:44
This is a macros for generating / destroying:
- Models
- Controllers
- Integration tests
- Migrations
- Scaffolds
This macros requires
Console plugin.
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
13xforever on
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
13xforever on
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 (13xforever@mail.ru)
31.01.2006 update:
- Cg Release 1.2 (Feb 2004)
07.09.2006 update:
- new RegEx engine
SubRip (subrip.xml v1.1 by 13xforever)
Submitted by
13xforever on
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).
21.01.2005 v1.0:
Simple SubRip subtitles mode by 13xforever (13xforever@mail.ru)
07.09.2006 v1.1:
Migration to new RegEx engine.
GLSlang (GLSlang.xml v1.10-r59 by 13xforever)
Submitted by
13xforever on
Thursday, 22 March, 2007 - 07:09
GLSlang Release 1.x source mode by 13xforever (13xforever@mail.ru)
03.02.2006 update:
- GLSlang Version 1.10 Revision 59 (30-April-2004)
07.09.2006 update:
- new RegEx engine
Avisynth (avisynth.xml v2.56 by 13xforever)
Submitted by
13xforever on
Thursday, 22 March, 2007 - 07:04
Avisynth 2.5 script mode by 13xforever (13xforever@mail.ru)
update: 26.01.2006
- Avysinth 2.56
YASM (yasm.xml v1.1 by 13xforever)
Submitted by
13xforever on
Thursday, 22 March, 2007 - 06:54
YASM launching commando file for 0.5.0 version.
NASM (nasm.xml v1.0 by 13xforever)
Submitted by
13xforever on
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
elberry on
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
thet on
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 ###