jEdit Community - Resources for users of the jEdit Text Editor
Archives
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?
Submitted by jesusgollonet on Monday, 27 November, 2006 - 10:15
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).
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.
User login
Browse archives
« November 2006 »
MoTuWeThFrSaSu
 
5
8
10
11
12
14
16
17
18
20
21
22
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309