jEdit Community - Resources for users of the jEdit Text Editor

BeanShell Macros


Geo coordinates converter macro (Coordinates_convert.bsh v1.0 by Rolandas A.)
Submitted by Driezas on Wednesday, 28 September, 2005 - 12:53
This macro converts geografical coordinates between degree.decimal and degree minutes seconds.decimal formats and vice versa. Created primary for X-plane flightsim related development. Maybe will be usefull for anyone. If you have any comments or suggestions contact me by email rolandas dot ananijevas at gmail dot com.

Updated on 09/30/2005 - 16:49
Downloads: 5400

Get_Screen_Color.bsh v1.0 by Delvin Johnson
Submitted by delvinj on Thursday, 8 September, 2005 - 18:20
Get_Screen_Color.bsh: A small text field that shows RGB or Hexadecimal color value for the current mouse coordinate. Usage:
  1. Press UP or DOWN to toggle RGB/Hexadecimal values
  2. Press ENTER to copy the current value to the clipboard and stop.
  3. Press ESCAPE to stop without copying.
Requires JRE 1.5 or later

Updated on 09/09/2005 - 08:43
Downloads: 3624

Go to Ruby method v0.5 (Go_to_Ruby_method.bsh v0.5 by Rob McKinnon)
Submitted by robmckinnon on Monday, 23 February, 2004 - 05:35

Brings up a popup menu of Ruby methods that are in the current buffer grouped by class and ordered alphabeticaly. Selecting a class or method from the menu places the caret at that member's location in the file.

New in v0.5:

  • Submenus show if there are multiple classes in file.
  • Show wait cursor while popup is being generated.
  • Fixed bug that occurred when "class" or "def" are preceded by non-white text.

Updated on 03/28/2004 - 20:19
Downloads: 2010

Hyper-search all .txt files in home dir (HyperSearch_in_Home_Dir.bsh v1 by AhLeung Cheng)
Submitted by ahlearn on Sunday, 12 April, 2015 - 17:41

Updated on 04/12/2015 - 17:41
Downloads: 3291

Insert_File.bsh v1.0 by Ollie Rutherfurd
Submitted by orutherfurd on Wednesday, 31 March, 2004 - 18:44
Prompts user to select a file then replaces the current selection with the contents of the selected file.

Updated on 03/31/2004 - 18:44
Downloads: 2009

javascript minify macro (compress.bsh v0.1 by Patrik Plihal)
Submitted by birdspider on Thursday, 10 June, 2010 - 17:57
minifies javascript
improved it to my needs

you can now specify an amount off lines which will be restored after compression to make comments persistent (so after deployment I can check which version of the script the server is running) this is especially usefull if you use a version control with 'on commit - keywords'

Updated on 06/10/2010 - 17:57
Downloads: 898

javascript packer macro (pack.bsh v0.1 by Patrik Plihal)
Submitted by birdspider on Thursday, 17 June, 2010 - 14:40
see javascript minify @ http://community.jedit.org/?q=node/view/4476
instead of YUI compress this one uses a port of http://dean.edwards.name/packer/

Updated on 06/17/2010 - 14:40
Downloads: 893

List_Dirty_Buffers.bsh v1.0 by Lee Turner
Submitted by lturner on Wednesday, 14 April, 2004 - 08:16
Beanshell macro to provide a simple message box telling you whether there are any dirty buffers. If all buffers are saved, a message will appear telling you there are no dirty buffers, otherwise a message will appear listing all the buffers that are dirty. This is useful if you like all available screen space to develop (no toolbars, no no docked plugins visable etc).

Updated on 04/14/2004 - 08:16
Downloads: 1514

Make bookmarklet (Make_Bookmarklet.bsh v1.0 by d delvin johnson)
Submitted by delvinj on Saturday, 11 March, 2006 - 01:38
Make_Bookmarklet.bsh -- removes the newlines and tabs in the current buffer, making the text appropriate for use as a javascript bookmarklet.

Updated on 03/11/2006 - 01:41
Downloads: 1122

minor updates for VOGen macro (VOGen.bsh v1.1 by Jia Zhiming)
Submitted by jiazhimi on Tuesday, 27 April, 2004 - 03:57
Some minor changes to VOGen macro, changes include:
1. removed java edit mode checking, now a new buffer can perform VOGen before saving.
2. added in check to verify the buffer contains matching brackets, if no matching bracket alert the user, instead of fialed to generate content and leave user in the lurch.
3. added in version number in comments
Enjoy.
Note:
The macro support incremental VO generation. Means if you added in some new variables into existing generated java file, the macro will only generate get and set methods for newly added variables.
The macro retains the original format.

Updated on 04/27/2004 - 03:57
Downloads: 1526

There are 480 downloads in our database
User login
Browse archives
« November 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
 
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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300