Something most of the “IDE roundup” threads seem to pass over lightly
is the autoindent feature - for me, that is the make-or-break feature.
How do the various IDEs and editors out there stack up? I’m pretty
happy with gvim and the vim-ruby package, though there are still a few
places where it messes up (yes, I have filed bugs).
Something most of the “IDE roundup” threads seem to pass over lightly
is the autoindent feature - for me, that is the make-or-break feature.
How do the various IDEs and editors out there stack up? I’m pretty
happy with gvim and the vim-ruby package, though there are still a few
places where it messes up (yes, I have filed bugs).
martin
Have you looked into the indent utility? I know it works with C well,
and you can use diffrent “styles” that it comes with. It isn’t in an
IDE, but you should be able to run it in a decent IDE.
Have you looked into the indent utility? I know it works with C well,
and you can use diffrent “styles” that it comes with. It isn’t in an
IDE, but you should be able to run it in a decent IDE.
That misses the “hit return and have the next line indented properly”
bit that makes vim (and emacs, no doubt) such a pleasure to use.
Something most of the “IDE roundup” threads seem to pass over lightly
is the autoindent feature - for me, that is the make-or-break feature.
How do the various IDEs and editors out there stack up? I’m pretty
happy with gvim and the vim-ruby package, though there are still a few
places where it messes up (yes, I have filed bugs).
NetBeans 6 has auto-formatting of regions, auto-indenting when pressing
Enter key, different indent settings for start lines and continuations,
option to reformat comment blocks, option to format HTML within RHTML
blocks.
And probably much more. I’m still very much a NB student, learning new
NB tricks every day. Today I learned about autowarn (and auto-fix) for
camelCase variables, or for constants that lacks all-caps, etc. But the
coolest one today was to press Ctrl+Shift+Space (on Windows) when I’m in
a comment, I get an instant RDoc version of that comment block displayed
in a window. Great time saver!
Something most of the “IDE roundup” threads seem to pass over lightly
is the autoindent feature - for me, that is the make-or-break feature.
How do the various IDEs and editors out there stack up? I’m pretty
happy with gvim and the vim-ruby package, though there are still a few
places where it messes up (yes, I have filed bugs).
martin
Komodo does auto-indent for Ruby, including Ruby code in RHTML blocks.
Disclaimer: I’m in charge of the Ruby integration in Komodo.
Ruby In Steel does smart auto-indenting of Ruby and embedded Ruby (in
HTML), also it can reformat an entire document or a marked block to
adjust the code indentation.