[Rails] 'Best' IDE for testing and debugging

Ben Munat bent at munat.com
Tue Feb 21 05:03:22 GMT 2006


Matt Torok wrote:
> Does Eclipse, in any form, support code completion and/or code
> formatting? By code completion I don't mean diving my method names
> from objects, but more like when I type "def foo", it automatically
> inserts "end" below it. Same thing for code formatting, when I type
> "def foo" or "if object.empty?", it'll automatically indent me two
> more spaces when hit enter, end  un-indent me when I type "end".

Radrails does this (both standalone and plugin): type "def" and ctrl-space in .rb file or 
in <%%> in .rhtml and you should get code assist with "def - method definition" 
highlighted. Hit enter and it puts in the "def" and "end" with "method_name" highlighted; 
type the method name and it replaces "method_name".

b



More information about the Rails mailing list