[ANN} Komodo 3.5.1 -- a professional Ruby IDE

soxinbox wrote on 12/12/2005 8:07 PM:

to invest both the time to figure out the editor without documentation,

“figure it out”

i’m productive with both komodo and arachno-ruby…i didn’t need to
figure anything out. i just used it.

granted, it wasn’t 2 hours before a major project was due that i fired
up one of them and decided i needed to learn them as i was fnishing up
code…

i find both komodo and arachnoruby relatively intuitive. took me a few
minutes to get comfortable with each.

i’m sure if lothar gets annoyed enough at answering questions that
should in documentation he might release something…i’d much prefer
arachnoruby gets worked on before any time is spent on the docs…
and

Christer N. wrote on 12/13/2005 9:09 AM:

can you tell as about any debugger speed differences between komodo and
arachno?

i much prefer the debugger in arachnoruby. i often need to debug
threads and it’s a breeze using the arachnoruby debugger for that. and
of course it’s faster. i found ruby thread debugging in komodo a bit
confusing, but it’s entirely possible that i’m too used to using
arachnoruby for that

what reasons do you see for using both?

for myself i also write perl and tcl/tk code and komodo is one stop
shopping there. i had komodo registered before the full ruby support
was added.

if i was only writing in ruby i’d would use arachnoruby exclusively.
and even though it’s still an early release it’s completely usable
for me…

I personally think it’s a pain…

arachno:

last update: August(!)
status: at most beta
documentation: close to non-existent
rails-support: hidden but there

komodo:
ruby support: very rudimentary, just to say “we can do ruby”,
probably initiated by marketing wussies
rails support: err, say what?

TextMate:
mac-os-only aarg

On Windows, I suggest (and use)

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-win32.zip

with

Ruby Development Tool download | SourceForge.net

and

Web Tools Platform (WTP) Project | The Eclipse Foundation

What you guys use?

Regards
Peter

My first post. testing html

tony summerfelt wrote:

Christer N. wrote on 12/13/2005 9:09 AM:

for myself i also write perl and tcl/tk code and komodo is one stop
shopping there. i had komodo registered before the full ruby support
was added.

if i was only writing in ruby i’d would use arachnoruby exclusively.
and even though it’s still an early release it’s completely usable
for me…

agreed, if you’re doing perl, C, python, PHP, java etc you have 6
choices that i know of: vim, emacs, komodo, textmate, jedit and eclipse
in all its variations. Any others?

and agreed on arachno, it works well and if you have serious issues,
Lothar will respond quickly. I get the feeling he doesn’t have a lot o
free time to eat donuts and watch Tv, so docs to come. And that’s
“slimline” mode, folks.

Spectacular evaluation. I greatly appreciate it.
I’ll be taking a close look at Arachnoby.

My favorite IDE for Java is CodeGuide, and
my favorite editor for other tasks is UltraEdit
(both windows based).

Would love to see Ruby support for those,
as well.
:_)

By a Newbie, for Newbies.

I’m trying to get started with Ruby development, and have just spent a
couple of days looking for an IDE. In my googling, I came across this
forum several times, so it seems to be a good for posting my
experiences. I apologise for the long post, but it does seem to be
relevant.

My background - 20 years experience, with a mix of Linux and Windows.
I’m Currently profficient with Visual Studio, and was once profficient
with emacs. I can do simple tasks with vi. I have also used several
IDE’s in addition to Visual Studio - such as Oracle JDeveloper and
Delphi.

My favourite IDE to date - Visual Studio 2003/5, for it’s good looks,
lightning response, intellisense, code completion, integration of
different languages, code navigation, good window organisation, … in
short, because it offers a huge range of features within a well
structured and light feeling UI.

If there were a Ruby plugin for Visual Studio, I would have gone
straight to that, and been willing to pay, say, $200 for it, but there
isn’t, so I went on a great Ruby editor hunt.

The hunt

After several days of massive googling, downloading, and configuring, I
discovered that there is no product which comes close to being a “Ruby
for Visual Studio”, but the best overall, and quite usable, was
Arachnoruby. At $29, for the non-commercial version, it’s not free, but
is cheap.

I will give a run-down of all the editors and IDE’s I tried. Most of
these I would have found to be an acceptable Ruby editor, however there
was always something which made Arachnoruby preferable, and worth paying
$29 for. Obviously, I may have done an injustice to any of these, and
missed an important quality. In that case, I apologise and am happy to
be corrected. Nevertheless, in my 2 days of looking for a Ruby editor, I
had to go on first impressions, and Arachnoruby the one I kept coming
back to.

I am running an AMD 2800, with 750 MB of RAM. I dual boot Windows XP,
and Xandros Linux.

  1. Free general editors, plugins needed…

eclipse - The only one of the “free, plus plugin” tools where the plugin
could be located and installed with a wizard. It did take me some failed
attempts to achieve this, but I put that down to my unfamiliarity with
eclipse. RoR support is in development, which is a big plus. The Ruby
plugin seemed to work nicely, but didn’t do “as you type” indentation.
It does provide “formatting”, on a keystroke, but “as you type”
indentation is worth a lot to me. The other Ruby features were nice, but
not as important to me as the indentation.

jedit - couldn’t get it running in Xandros. I have used it in the past
in Windows.

My overall impression of Java based editors (eclipse, jedit) is that the
“look” is good, and sometimes “great”, but the “feel” is sluggish. They
would have to have very strong Ruby support to make me prefer them to a
“lighter” editor.

emacs - an old favourite of mine, but I’ve used fully graphical IDE’s
for too long to want to go back to it’s keystroke based command set. To
me, it is easier to think about a program when you are not thinking
about how to navigate the editor. The plugin seemed to work quite nicely
for indentation, but I didn’t get syntax highlight working. I assume
that the auto-complete function is just the old emacs one of looking for
words in the current file. I believe that emacs is (or was) the
preferred editor of the the Ruby “owners”, so it must offer a lot to
those willing to invest the time.

Vim -From the net buzz Ruby support seems to be mature, and while I
enjoy vim for small tasks, I’ve never used it for serious programming. A
quick look at the instructions for installing Ruby support (only for the
dedicated) was enough to make me move on to more promising (for me)
products.

gedit - Slow, in Xandros. Perhaps this is because it is a Gnome app
running on a KDE desktop. The Ruby plugin mentioned on the net didn’t
seem to have enough to recommend it to make it worthwhile trying.

cream - Some Ruby support “out of the box”. It provided nice syntax
highlight, and an “auto-indent” option (but this didn’t work for me). It
is nice and light, being vim based, and is switchable between GUI and
raw VIM mode. It seemed worth more investigating.

  1. A cross platform, pure Ruby editor

FreeRIDE - Overall, very good, and promises more. Automatic indentation
is adequate, but not complete. The integration of interpreter, debugger
and Ruby manuals is there, but not as well organised (to my eye), as in
Arachnoruby. Recommended.

SciITE - A nice place to start. It is light and clean, and does syntax
highlighting and basic indentation (as per FreeRIDE) but just doesn’t do
very much as a Ruby editor.

  1. KDE based

I love the look and feel of KDE applications, so I would have been keen
to get Ruby working in one of these…

kate - A very nice programmers editor. It was difficult to locate and
install the Ruby plugins, and when I did they were adequate, but seemed
to only provide syntax highlighting. No auto-indent, or other strong
Ruby support.

kdevelop - couldn’t install it on Xandros

Quanta - It installed first time with an “apt-get” in Xandros. A truely
beautiful editor! I couldn’t get any Ruby support running though.
However, I might be using it for HTML in the future, and if it gets good
Ruby support, then I’ll be having another look.

  1. Did not try -

slickedit
komodo

Both of these are mature, cross language, cross platform editors, with
“add-ons” for Ruby. Both are expensive, and after looking at the feature
sets, and reviews, I couldn’t see any reason to try them when
Arachnoruby seemed to match them (for Ruby development) at $29.

  1. My winner, Arachnoby

Works out of the box! It has Ruby syntax highlighting, very nice “as you
type” indentation, debugger, live syntax checking. The default colour
scheme is garish, but an alternative scheme can be selected. The
auto-complete function is basic - it just looks for identifiers within
the current file. This, however, is as good as any I found during my
investigation. It’s still in beta - version 0.6.5, so some of the
features are only stubs, but the stubs seem to be in the right place,
and look promising for a great Ruby IDE. Arachno uses a cross platform
widget set, which has some drawbacks. The “look” is reasonably modern
and graphical, but not as sharp as it could be - KDE and Windows both
look better. The “feel” is as responsive as a native application.

So, I can only go on first impressions, but the first impression of
Arachnoruby was the best of all. In addition, longtime users on the net
praise it.

So, my recommendations…

  1. If you are a heavy user of emacs, jedit, vim, kate, kdevelop
    etc…then find the Ruby plugin for you. However, you probably wouldn’t
    be looking here anyway.

  2. FeeRIDE is a good place to start for anyone else.

  3. Arachnoruby is, in my humble, and not very well informed opinion, the
    best of them all for someone looking for a new IDE, and well worth $29

A final note: I was looking for a Linux editor, in Xandros, which is
Debian based. Arachnoruby is cross platform, but the Windows version is
ahead of the others. I decided to continue with version 0.5.6 in Linux,
rather than version 6.5 in windows. My first attempt at running 6.5 with
Cross-Over office didn’t succeed. I’ll try again later, but for the
moment I’ve had enough of installing and configuring, and want to get on
with Ruby coding!

Whups. Typo: s/b ArchnoRuby

http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php

Eric A. wrote:

Spectacular evaluation. I greatly appreciate it.

Thanks Eric. I was unsure about making such a long post, so I appreciate
the feedback, and I’m glad that it has helped.

  • Javaman

If there were a Ruby plugin for Visual Studio, I would have gone
straight to that, and been willing to pay, say, $200 for it, but
there isn’t, so I went on a great Ruby editor hunt.

I’d suggest looking at Sapphire in Steel[1] - it’s still in beta, but it
seems to be the Ruby plugin for Visual Studio that you are really
looking for. Personally I can’t stand VS, but to each his own.

Kev

[1] http://sapphiresteel.com/2006/03/28/11/

Just out of curiosity, did you look at all at the “QT Ruby” family in
conjunction with KDE? This is a collection of packages including
“kommander”, “korundum” and “qtruby”. They are essentially flavors of
the QT designer tools and are documented in the Pragmatic Programmers
book “Rapid GUI Development with QTRuby”. The URL is

http://www.pragmaticprogrammer.com/titles/ctrubyqt/index.html

I am not sure how well these work on Windows; I’m pretty sure QTRuby
does, but “korundum” is KDE-specific and I’m not sure about “kommander”.

Javaman59 wrote:

Kev


M. Edward (Ed) Borasky

M. Edward (Ed) Borasky wrote:

Just out of curiosity, did you look at all at the “QT Ruby” family in
conjunction with KDE? This is a collection of packages including
“kommander”, “korundum” and “qtruby”. They are essentially flavors of
the QT designer tools and are documented in the Pragmatic Programmers
book “Rapid GUI Development with QTRuby”. The URL is

http://www.pragmaticprogrammer.com/titles/ctrubyqt/index.html

I am not sure how well these work on Windows; I’m pretty sure QTRuby
does, but “korundum” is KDE-specific and I’m not sure about “kommander”.

Javaman59 wrote:

Kev


M. Edward (Ed) Borasky

http://linuxcapacityplanning.com

Yes, I did come across that site and it was what led me try KDevelop,
and Quanta, because I hoped to get IDE support for Ruby QT development.
I’ll probably be revisiting the site once I’m up and running with Ruby.

Thanks :slight_smile:

  • Javaman

Javaman59 wrote:

I am not sure how well these work on Windows; I’m pretty sure QTRuby

http://linuxcapacityplanning.com

Yes, I did come across that site and it was what led me try KDevelop,
and Quanta, because I hoped to get IDE support for Ruby QT development.
I’ll probably be revisiting the site once I’m up and running with Ruby.

Thanks :slight_smile:

  • Javaman
    Did you try RadRails[1] out? I realize that it’s built upon Eclipse but
    it does have the benefit of being a stand-alone product that bundles
    everything you need for Ruby and Rails development.

[1] http://www.radrails.org/

sender: “Javaman49” date: “Mon, Apr 17, 2006 at 10:59:56AM +0900” <<<EOQ
Hi,

  1. My winner, Arachnoby
    My winner, Vim7 +
    http://blog.hasno.info/blog/segfault/?month=4&day=10&year=2006

Works out of the box!
Ok, you got me there, it dosen’t work right out of the box, you have to
‘install’ a few plugins, that is to copy them to $HOME/.vim/plugins or
whatever…

It has Ruby syntax highlighting,
That it has, right out of the box I believe,

very nice “as you type” indentation,
That too,

debugger,
Mmm, Ruby has that by itself, don’t really miss it,

live syntax checking.
That can be setup, no problem,

The default colour scheme is garish,
The default color is nice ;),

but an alternative scheme can be selected.
Here too,

The auto-complete function is basic - it just looks for identifiers within
the current file.
Aha, so does Vim7… out of the box, but, with the above mentioned
plugin you get ‘intellisens’ for real, that is autocompleting the
methods, not the ‘words in the file’… Yummy!

jEdit is also really nice, so is SciTE, I’ve used them both, however…
Vim is Vim… I probably forgot to mention a few thigs as well, but
the time invested in (re)learning it, it really pays off in the end.
Oh, BTW, you can find the official Vim configuration files for the
compilation, indenting, and syntax highlighting of Ruby files here:
http://rubyforge.org/projects/vim-ruby/

Good luck,
Alex

Roy S. wrote:

  • Javaman
    Did you try RadRails[1] out? I realize that it’s built upon Eclipse but
    it does have the benefit of being a stand-alone product that bundles
    everything you need for Ruby and Rails development.

[1] http://www.radrails.org/

Yes, I do remember trying RadRails. This was quite early in my
investigation, and my memory is a bit fuzzy :)… I think that I tried
out it in Windows, and was impressed with the Ruby support, but when I
switched to Xandros the RadRails site was down, so I left it there.
Thanks for the recommendation. I’ll have another look at it when I move
on to RoR.

Kev J. wrote:

If there were a Ruby plugin for Visual Studio, I would have gone
straight to that, and been willing to pay, say, $200 for it, but
there isn’t, so I went on a great Ruby editor hunt.

I’d suggest looking at Sapphire in Steel[1] - it’s still in beta, but it
seems to be the Ruby plugin for Visual Studio that you are really
looking for. Personally I can’t stand VS, but to each his own.

Kev

[1] http://sapphiresteel.com/2006/03/28/11/

Thanks Kevin. Sapphire looks interesting, and they may produce a great
IDE in time. I think that despite my advocacy of VS, I’m actually
happier having something Linux based, which does the job, even if it
isn’t quite as slick as VS…
(oh well, nowhere near as slick as VS) :slight_smile:

debugger is very important to me. Isn’t a debugger important in the
Agile approach?

No a debugger isn’t important for an agile approach. Unit tests which
can be automated are of much more value than a breakpointed debugger
IMO. Using graphical debugging (breakpoints, step-through/over etc)
isslow and not worth the time it takes to learn them. Unit tests on the
other hand are fast, can be automated to run when you aren’t at the
computer and can be used as part of an continuous build process.
Debuggers are not part of the Agile approach, unit tests are. See XP
[1]

I’m not saying that debuggers have no value at all, but just that in all
my time coding (ok only 9 years with six being professional), I’ve
never/not once used one. In java you read the stack as it’s unwound,
and trace back to see what you did wrong, in ruby I do something similar
(should I get a failing app). Before you get that far, you make sure
you have unit tests, and they catch most errors for you. Debuggers seem
to be fully ingrained in the MS VisualStudio world, many of the java
developers here who came over from VB still use the debugger in Eclipse,
but it’s much much slower than reading the stack trace, and without the
test, how can you prove that that the bug has been squashed?

Kev

[1]http://www.xprogramming.com/

Alexandru E. Ungur wrote:

  1. My winner, Arachnoby
    My winner, Vim7 +
    … (why Vim7 )…
    Good luck,
    Alex

Thanks Alex, and thanks for all the info. I won’t be having another look
at Ruby in Vim real soon, but putting all that info in one place should
be helpful to anyone reading this thread. I might have given Vim more of
a chance if I’d known all that 24 hours ago. I especially like your
“intellisense” details and the installation does look straightforward. A
debugger is very important to me. Isn’t a debugger important in the
Agile approach?

Regards,

Javaman

Kev J. wrote:

No a debugger isn’t important for an agile approach. Unit tests which
can be automated are of much more value than a breakpointed debugger
IMO.
Thanks for the info. I’m always happy to be corrected :slight_smile:

Using graphical debugging (breakpoints, step-through/over etc)
is slow and not worth the time it takes to learn them.
When I had nine years experience I also rarely used a debugger, for the
same reasons.

I eventually had to start using a debugger to track very difficult
problems, and once I had made that investiment, I started to include it
as a normal tool, for…

  1. understanding other people’s code.
  2. I’ve already used the ArachoRuby debugger in my attempts to
    understand the Ruby language.
  3. to track down deep and difficult problems (most of which have been
    related to memory management, in languages such as c++).
  4. To quickly partition a problem. If the input/output of a large
    section of code is wrong, then I’ll often do a binary chop with the
    debugger to quickly find where it’s going wrong.

David C. wrote:

You twice mention ‘reading the stack trace’ in Java. That only helps if you
HAVE a stack trace. Many bugs don’t involve exceptions.
Amen!

Either way, it’s a smell that something is too
large and complex. But it does help.
hmmmm… you’ve got me there… using Visual Studio and VC++ (or VB),
tends to push me towards a compile/link/test/debug cycle, rather than
unit testing. I’m looking forward to seeing whether Ruby, RoR, and a
“lighter” environment (Arachno and bash), changes things.

Kev J. wrote:

many of the java developers here who came over from VB still use the
debugger in Eclipse, but it’s much much slower … and without the
test, how can you prove that that the bug has been squashed?

Good observation. See also mine and David’s above. :slight_smile:

Cheers,

Javaman

On Monday 17 April 2006 06:28 am, Kev J. wrote:

You twice mention ‘reading the stack trace’ in Java. That only helps if
you
HAVE a stack trace. Many bugs don’t involve exceptions. I’m all for
unit
tests, but sometimes a debugger is faster. I will occaisionally use a
debugger to see why my test is/isn’t passing. In the latter case, I’ll
may
find another needed test. Either way, it’s a smell that something is
too
large and complex. But it does help.