Real IDE for os-x

hi -

i just switched to a mac and was wondering about IDEs.
this is not for rails dev, just plain ruby apps.

people seem to rave about textmate, and while its awesome compared to
notepad on windows, its not really an IDE.

looking for these basic things (maybe i missed out on some hidden
features?):
arachno on the PC had most of the below, but theyre mostly a PC tool

  • list of functions (at least for your current open file)

  • dropdown possible methods for library (or your own) classes
    eg if i type file. i want to have “open / read” etc popup

  • goto method defintion

  • after compile/run, jump straight to error line

thanks for any pointers.

/dc


  David "DC" Collier

mailto:[email protected]
+81 (0)80 6521 9559
skype: callto://d3ntaku

On Sep 22, 2006, at 8:12 PM, dc wrote:

people seem to rave about textmate, and while its awesome compared to
notepad on windows, its not really an IDE.

Well, I’m a TextMate fan, so I’ll comment on how I use it to do these
things…

  • list of functions (at least for your current open file)

The lower right hand corner of the TextMate editing window has a
symbol menu for this, but see below for an even better solution.

  • dropdown possible methods for library (or your own) classes
    eg if i type file. i want to have “open / read” etc popup

In TextMate, we handle this with completions:

http://macromates.com/textmate/manual/working_with_text#completion

and snippets:

http://macromates.com/textmate/manual/snippets#snippets

  • goto method defintion

Apple-shift-T. Type an abbreviation for your method and press
return. The matcher is quite clever so typing s-w-r can take you to
save_without_revision().

  • after compile/run, jump straight to error line

This is very doable with a TextMate command using HTML output. I
show an example of how to do this (for Ruby) in the TextMate book:

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

The example is in the beta portion of the book that has already been
released. It needs a slight tweak to work with the latest version of
TextMate. Replace the e_pre() call with a call to htmlize(). I will
fix this in the next beta.

The beta chapters also have great coverage of snippets, which I
mentioned above.

James Edward G. II

Reprisal wrote:

I use RadRails and I personally like it. It has come a long way in terms
of stability and features. Most importantly, I am able use VI key
mapping as my editor. I have been curious of TextMate, though. Is there
any way that I can emulate VI in TextMate?

steve

Posted by dc (Guest)
on 23.09.2006 03:12

hi -

i just switched to a mac and was wondering about IDEs.
this is not for rails dev, just plain ruby apps.

A real IDE for Ruby & Mac OS X seems to be Komodo

Also worth a look may be

http://kate.kde.org/

A forum search though may turn up even more options!

Cheers,
Verno

I’m new to emacs, but I’m certain it can be made to do what you want
it to do… :slight_smile: Plus, the ECB is pretty fly.

M.T.

Try RDT for eclipse from www.rubypeople.org. Its a ruby plugin and is
required by radrails which adds rails support to eclipse.

TextMate is all that and a bag of chips, like any powerful tool,
there is some learning curve to take full advantage of. Use it for
everything and explore a lot and i expect you’ll be very pleased.
If that doesn’t work for you, you could check out http://
www.radrails.org/ . Personally i can’t speak to its quality as the
only thing that disappoints me about TextMate is that i’ve only just
begun to utilize its potential. You can learn a lot about TextMate
from Allan’s (and others) screen casts.

p.s. Looking forward to the book James!

I use RadRails on my PC and TextMate on my Mac for straight Ruby
development. TextMate is lean and I really like that. I needed
something for Windows and RadRails was the best option for me. Context
(www.context.cx/) would work if it were a bit smarter about Ruby.

Lorenzo

I’m comfortable with eclipse but assumed radrails is very geared
toward Rails dev. using it for a simple ruby file i thot would be
difficult, the IDe expecting a framework…

it also doesnt seem to have things like “jump to this method
definition”… that some other eclipse plugins (eg for PHP) have.
its just a few little niggly things like this that make life a drag.

/dc

On 23/09/06, divemountain [email protected] wrote:

p.s. Looking forward to the book James!

  David "DC" Collier

mailto:[email protected]
+81 (0)80 6521 9559
skype: callto://d3ntaku