Cheat RubyGem macros
Submitted by
charlesroper on
Friday, 24 November, 2006 - 18:17
I've created a couple of macros for the excellent Cheat RubyGem (check it out: http://cheat.errtheblog.com/). Download 'em from here:
http://homepages.nildram.co.uk/~charlesr/jedit/cheat_macros.zip
Charles
Rails macro for moving between related files
Submitted by
marioaquino on
Saturday, 25 November, 2006 - 20:31
I have created a macro for jumping between related files in a Rails project. The macro figures out what file you have in your buffer and offers a popup list of other related files that you can jump to. There is a brief screencast demonstrating the macro that you can view on my blog: http://marioaquino.blogspot.com/
You can download the macro from: http://mario.blogdns.net/rails_macro.zip
SVN update (svn_update.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 16:49
Macro to run SVN update. The SVN command line client needs to be installed separately.
SVN Add (svn_add.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:28
Console plugin is required. SVN command line client is required. Works on current buffer only. I add it to the text area context menu (right click on the text area, then "Customize this menu").
SVN Commit (svn_commit.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:29
Console plugin is required. SVN command line client is required. Works on current buffer only. I add it to the text area context menu (right click on the text area, then "Customize this menu").
SVN Info (svn_info.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:30
Console plugin is required. SVN command line client is required. Works on current buffer only. I add it to the text area context menu (right click on the text area, then "Customize this menu").
SVN Log (svn_log.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:31
Console plugin is required. SVN command line client is required. Works on current buffer only. I add it to the text area context menu (right click on the text area, then "Customize this menu").
SVN Revert (svn_revert.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:32
Console plugin is required. SVN command line client is required. Works on current buffer only. I add it to the text area context menu (right click on the text area, then "Customize this menu").
PV SVN Add (pv_svn_add.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:41
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
PV SVN Commit (pv_svn_commit.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:42
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
PV SVN Info (pv_svn_info.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:43
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
PV SVN Log (pv_svn_log.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:44
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
PV SVN Update (pv_svn_update.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:45
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
PV SVN Revert (pv_svn_revert.bsh v1.0 by Dale Anson)
Submitted by
daleanson on
Sunday, 26 November, 2006 - 17:46
These macros work on the currently selected node in the ProjectViewer tree. If the node is a directory, the commands are recursive, except for the info command. I added them to the ProjectViewer context menu (Plugins, Plugin Options, ProjectViewer, Context Menu). Both ProjectViewer and Console plugins are required, SVN command line client required.
Select Super Abbrev (Select_Super_Abbrevs.bsh v1.0 by Jim Morris)
Submitted by
wolfmanjm on
Sunday, 26 November, 2006 - 20:24
Type in part of an abbreviation and hit the shortcut (I use Alt-Space), and a list of all the abbreviations in the current mode that match is shown, you can then select the one you want.
You can choose another mode and it will show you the matching abbrevs from that mode, and you can select from that list.
Only works with the current beta of SuperAbbrevs.
Jedit >= 4.2final.
Macro to run a focused Rubt testcase
Submitted by
wolfmanjm on
Monday, 27 November, 2006 - 02:26
Here is a macro that will run whatever Ruby testcase the cursor is currently in, it runs only that one test, not the whole thing.
Works well for Rails functional, unit and integration tests too.
Download from http://blog.wolfman.com/files/Run_Test_Case.bsh
running processing files from jEdit?
hello all. First post here...
First of all... I love jEdit. Thanks very much for a wonderful program.
Then the question... Does anyone here use jEdit for editing processing ( http://www.processing.org/ ) files?
I want to be able to compile and run processing files from within jedit, to avoid switching between both ides when i want to publish. I know this is possible with eclipse, as explained here http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1117133941 , and thought it could be possible in jEdit as well, as both are java based.
Does anyone know how could that be done?
I know this is more on the processing side than on jEdit, but I got no response on the p5 forums...
Thanks in advance for any help
Search and replace with the filename
Submitted by
poil on
Monday, 27 November, 2006 - 17:22
Hi
I'm struggling to write a macro that will search for a string and replace it with that buffer's file name, or better still, a substring of the filename, across all open buffers.
I'm currently trying to use SearchAndReplace.setBeanShellReplace(true) and putting variable names in SearchAndReplace.setReplaceString("theName") with no luck.
Anyone got a macro like this?
Thanks
Which plugins for basic IDE/debugger
Submitted by
Jim on
Tuesday, 28 November, 2006 - 04:44
Hi, guess that says it. Would appreciate guidance on minimal plugins that will give me an IDE with auto indent, syntax coloring, and a debugger that allows conditional breakpoints and a way to view variables.
Thanks very much,
Jim
Hypersearch results - link to editor
Submitted by
shlomy on
Tuesday, 28 November, 2006 - 07:01
This is just a curiosity question: I noticed that that clicking items in the hypersearch results brings me to the correct place in the file even after adding/removing lines in various places in the file and modifying the line to which the result was linked. This makes me think that each hypersearch result stores the line number in which it originated, and then jEdit either updates these line numbers when the file is modified or uses the undo buffer to find the up-to-date line number of the search result when it is clicked. Am I correct?
I am asking this because a similar problem exists with the ctags outlines - CtagsSideKick, CodeBrowser - neither of them works well in tracking the correct location in the code after it is modified (unless 'parse on keystroke' is used).