BeanShell Macros
-
C and C++ (6)
-
Caret (3)
Macros that move the caret or change the selection -
Execution (4)
Macros for running scripts or external programs -
Files (17)
Macros that deal with files or buffers -
Focus and Visibility (9)
Macros which move the focus or change the visibility of certain GUI elements -
HTML and XML (7)
-
Information (10)
Macros for finding and/or displaying information -
Java (8)
Java-specific macros -
Text (34)
Macros that manipulate text -
Version Control (13)
A macro script for displaying and switching between open buffers (in most recently viewed order). (Switch_Recent.bsh v1.0 by AhLeung Cheng)
Submitted by Friday, 11 April, 2014 - 03:03
on
Switch_Recent.bsh - a BeanShell macro script for displaying
and switching between open buffers (in most recently viewed order).
This is similar to the functionality provided by Alt+Tab in Windows.
Suggested shortcut: A+TAB
This Script is a modification of Buffer_Switcher.bsh, written by Ollie Rutherfurd. http://web.mit.edu/~jedit/arch/java/versions/4.3pre5/macros/Files/Buffer_Switcher.bsh
Copyright (C) 2001-2004 Ollie Rutherfurd, oliver@rutherfurd.net
Modified by AhLeung Cheng
Suggested shortcut: A+TAB
This Script is a modification of Buffer_Switcher.bsh, written by Ollie Rutherfurd. http://web.mit.edu/~jedit/arch/java/versions/4.3pre5/macros/Files/Buffer_Switcher.bsh
Copyright (C) 2001-2004 Ollie Rutherfurd, oliver@rutherfurd.net
Modified by AhLeung Cheng
Updated on 12/21/2014 - 07:05
Downloads: 6837
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
on
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.
Updated on 01/31/2007 - 17:53
Downloads: 1417
All tasks in a project (Project_Task_List.bsh v1.0 by Dale Anson)
Submitted by Tuesday, 4 November, 2008 - 05:16
on
I like the TaskList plugin, it shows the "TODO" messages in a file so it's easy to see them. A feature I've always wanted for this plugin is to be able to show a list of all such messages in a ProjectViewer project, so I don't have to do a search. This macro provides that ability. This macro requires both TaskList and ProjectViewer to be installed.
Updated on 11/04/2008 - 05:16
Downloads: 1302
Auto auto completer (Auto auto completer.rar v0.01 by Lei Yang)
Submitted by Wednesday, 17 January, 2007 - 18:46
on
Automatically triggers auto complete for sidekick as you type
Updated on 01/17/2007 - 18:46
Downloads: 1645
Automatically run Ant on the default target of the build file for frontmost buffer (Run.bsh v1.0 by Philip Weaver)
Submitted by Tuesday, 7 March, 2006 - 09:47
on
It's kind of cumbersome to have to switch between ProjectViewer and AntFarm during development. So I created this simple macro (3 lines) to allow me to press command-r to run the nearest build file for the frontmost buffer. You'll also need to create a keyboard shortcut yourself.
The script assumes that AntFarm and ProjectViewer are docked in the same pane. Whenever AntFarm runs, its panel becomes visible automatically, so the macro quickly switches it back to ProjectViewer (which I always leave open.)
If you have any questions or would like to enhance this, feel free to contact me at philip at philmaker dot com. All of this is documented in jEdit help:
- Console Plugin Help: 6. Macros and the Console plugin
- AntFarm Plugin Help: 5. The Ant Shell
- jEdit API Reference: org.gjt.sp.jedit.gui.DockableWindowManager
The script assumes that AntFarm and ProjectViewer are docked in the same pane. Whenever AntFarm runs, its panel becomes visible automatically, so the macro quickly switches it back to ProjectViewer (which I always leave open.)
If you have any questions or would like to enhance this, feel free to contact me at philip at philmaker dot com. All of this is documented in jEdit help:
- Console Plugin Help: 6. Macros and the Console plugin
- AntFarm Plugin Help: 5. The Ant Shell
- jEdit API Reference: org.gjt.sp.jedit.gui.DockableWindowManager
Updated on 03/07/2006 - 09:47
Downloads: 1384
Clear Hypersearch Results Macro (Clear_HyperSearch_Results.bsh v1.0 by Lee Turner)
Submitted by Friday, 16 July, 2004 - 10:19
on
Beanshell macro to clear all the hypersearch results from the hypersearch window.
Updated on 07/16/2004 - 10:19
Downloads: 2559
Compare Buffer Backups (Compare_Buffer_Backups.bsh v1.0 by Ollie Rutherfurd, John Gellene, Anthony Keeley)
Submitted by Thursday, 6 August, 2009 - 20:33
on
Allows user to easily compare backup version of the current buffer, using the JDiff plugin. Requirements: JDK >= 1.5, jEdit >= 4.3pre15, jDiff >= 3.0.0.
Updated on 08/06/2009 - 20:33
Downloads: 1591
Explore Directory for ProjectViewer (Explore_Directory.bsh v1.0 by David Koenig)
Submitted by Saturday, 5 February, 2011 - 21:41
on
This macro will bring up the default platform file manager if called on a directory from the ProjectViewer plugin. As noted in the java.awt.Desktop API documentation; On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries.
Updated on 02/05/2011 - 21:41
Downloads: 1079
Find Next Selected (Find_Next_Selected.bsh v1.01 by Dan Ferreira)
Submitted by Tuesday, 24 August, 2004 - 18:19
on
Got this idea from UltraEdit32, where I'd often skip the Find dialog by just selecting text and searching for its next occurrence. I never found another editor that provided this simple functionality, and now jEdit can do it with this macro!
If there's no selection, it looks for the next occurrence of your last search (issues a "find-next" action). It's meant to be an improved "find-next", so you can remap your "find-next" shortcut to this macro if you want to.
New in version 1.01:
- Special behavior when regular expressions enabled: if the current selection matches your regexp search string, then it issues a "find-next" action (so it won't disrupt ongoing regexp searches); otherwise, the selected text becomes the new regexp search string; if the new regexp search string is invalid, a regular search is performed (sounds more complicated than it actually is, the point is that now it handles regular expressions nicely :-) )
If there's no selection, it looks for the next occurrence of your last search (issues a "find-next" action). It's meant to be an improved "find-next", so you can remap your "find-next" shortcut to this macro if you want to.
New in version 1.01:
- Special behavior when regular expressions enabled: if the current selection matches your regexp search string, then it issues a "find-next" action (so it won't disrupt ongoing regexp searches); otherwise, the selected text becomes the new regexp search string; if the new regexp search string is invalid, a regular search is performed (sounds more complicated than it actually is, the point is that now it handles regular expressions nicely :-) )
Updated on 08/26/2004 - 00:38
Downloads: 2846
Geo coordinates converter macro (Coordinates_convert.bsh v1.0 by Rolandas A.)
Submitted by Wednesday, 28 September, 2005 - 12:53
on
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
There are 480 downloads in our database