Ruby auto indent and insert end v0.6 (Ruby_auto_indent_and_insert_end.bsh v0.6 by Robert McKinnon)
Submitted by Sunday, 22 August, 2004 - 16:12
on
Designed to be executed each time the enter key is pressed. Auto indents and inserts 'end' after the following: if, for, while, until, unless, def, case, class, module, begin, loop do, x do |y|. Also aligns else and elsif. Designed to work with the auto-indenting defined in Ruby edit mode v0.3.
Use in combination with the Ruby edit mode v0.3 to solve most of your Ruby indenting needs!
TO INSTALL:
- Place in directory: [user_home_dir]/.jedit/macros/Ruby
- Add the 'ENTER' key shortcut to this macro via:
- Utilities -> Global Options -> Shortcuts -> Edit Shortcuts: Macros
- Install Ruby edit mode v0.3.
Updated on 09/26/2004 - 22:03
Downloads: 2091