jEdit Community - Resources for users of the jEdit Text Editor
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
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
nice
by wolfmanjm on Mon, 27/11/2006 - 02:14
This is really nice thank you.

Just one nit to pick Smiling When it shows a list of all the views
it can goto, it includes backup files left by other editors like *.bak or *.asv, it also shows the .svn directory.

I suspect it would be better to filter the extensions against rhtml, haml, rjs etc.

Thanks again very nice macro
 
Macro updated...
by marioaquino on Tue, 28/11/2006 - 03:15
I updated the macro to filter on .rhtml & .rjs files. There is an array declared at the top of the macro where other file extensions can be added as needed. The updated macro is available in a zip file from the URL at the top of this thread.

Thanks for the suggestion, wolfmanjm!
 
Where to download
by Necron99 on Fri, 13/06/2008 - 05:40
I cannot seem to find a link to this macro that is active. The above link is dead.

Where can I download this macro?

Thanks,
Dave
 
I had no problem downloading
by elberry on Tue, 17/06/2008 - 05:41
I had no problem downloading it.

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
availability of macro
by mamboze on Sat, 01/08/2009 - 22:33
I can't download it, the link seems not to be working. Is it available elsewhere? I would like to try it out.
 
Community Downloads
by Robert Schwenn on Sun, 02/08/2009 - 13:29
You could search the BeanShell Macros Download page for it.

Robert
User login
Browse archives
« July 2010  
SuMoTuWeThFrSa
 
1
2
3
4
5
6
8
10
11
13
15
16
18
19
20
23
24
28
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
33%
Indifferent
34%
No, that'd be bad (please comment)
7%
Total votes: 1067
Syndication
file   ver   dls
JBuilder scheme   .001   6802
XP icons for jEdit   1.1   6695
R Edit Mode - extensive version   0.1   6318
ColdFusion scheme   1.0   6182
Advanced HTML edit mode   1.0   6118
jEdit XP icons   1.0   5990
BBEdit scheme   1.0   5845
Matlab Edit Mode   1.0   5778
JDiff Plugin for Jedit 4.2 pre xx   1.4.1   5570
Python Commando File   1.0   5567