jEdit Community - Resources for users of the jEdit Text Editor
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 ###
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on 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 h8 on 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 h8 on 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 Stickman on 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 sewart on 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) Limitations: 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 elberry on 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 esceo on 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 sune_simonsen on Sunday, 14 January, 2007 - 20:02
This macro places the caret before the first brace that does not have a matching brace.
User login
Browse archives
« May 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   83281
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293