[Rails] ''Best'' IDE for testing and debugging

Ben Munat
Tue, 21 Feb 2006 05:01:49 -0000

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