Ruby-Syntax capable editors for OS X?

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

I've been using the collaborative text editor, SubEthaEdit, which I
enjoy a lot -- and hope to enjoy even more now that Rendezvous has
been unleashed for all platforms (which would mean someone is going to
write compatible Rendezvous text editors for windows/linux).

···

--
</michael fivis>

Michael,

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

Emacs runs in Terminal, and with ruby-mode.el (or whatever it's called) you
can have colorized/highlighted text.

Jim

···

--
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"Any sufficiently advanced technology is insufficiently documented."
    -- kabdib on slashdot

IIRC XCode does syntax highlight for ruby

···

il Fri, 9 Jul 2004 20:02:42 +0900, Michael Fivis <michael.fivis@gmail.com> ha scritto::

Michael Fivis wrote:

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

I've been using the collaborative text editor, SubEthaEdit, which I
enjoy a lot -- and hope to enjoy even more now that Rendezvous has
been unleashed for all platforms (which would mean someone is going to
write compatible Rendezvous text editors for windows/linux).

I use Eclipse 3.0 + RDT plugin.

--paul

Michael Fivis <michael.fivis@gmail.com> wrote in message news:<ed73706704070904021fd87748@mail.gmail.com>...

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

I just use Xcode, which supports syntax coloring of Ruby code. It also
allows you navigate between methods using the method drop-down list at
the top of the window.

However, its interpretation of Ruby syntax is not perfect. For
example, it doesn't treat regular expressions as atomic (a la string
literals), so if you have something like this:

foo = /"/

It will highlight everything from the " character onward as a string,
until it hits another " character. I get around this by using a
comment like so:

foo = /"/ #"

BTW, I recently bought TextWrangler, which I was surprised and
disappointed to discover *doesn't* include Ruby among the languages
that it can syntax-color. Especially since it does support Perl and
Python, as well as some that I would assume there to be little demand
for such as Object Pascal and Rez.

In article <ed73706704070904021fd87748@mail.gmail.com>, Michael Fivis

···

<michael.fivis@gmail.com> wrote:

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

You can find a BBEdit plugin I wrote for Ruby on their web-site. It
does color coding and includes a popup menu allowing you to jump to a
method or class within the current file.

  -- Jesse

I liked vim and ruby.vim was nice, but I like literally being able to
drag and drop text with cocoa

···

On Fri, 9 Jul 2004 20:34:15 +0900, Jim Menard <jimm@io.com> wrote:

Michael,

> Hello, fellow OS X Ruby fans. I was wondering if there was any nice
> Cocoa/Carbon (with ruby highlighting/features) editor that you
> use/know about?

Emacs runs in Terminal, and with ruby-mode.el (or whatever it's called) you
can have colorized/highlighted text.

Jim
--
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"Any sufficiently advanced technology is insufficiently documented."
    -- kabdib on slashdot

--
</michael fivis>

Michael Fivis wrote:

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?
I've been using the collaborative text editor, SubEthaEdit, which I
enjoy a lot -- and hope to enjoy even more now that Rendezvous has
been unleashed for all platforms (which would mean someone is going to
write compatible Rendezvous text editors for windows/linux).

I use Eclipse 3.0 + RDT plugin.

Do you know if CDT works on OS X?

···

On Jul 9, 2004, at 8:52 AM, Paul Sanchez wrote:

--paul

BBEdit ($) has a Ruby syntax highlighter and function navigation plugin available:

   <Captcha;

tb

···

On Jul 9, 2004, at 8:32 AM, Michael Fivis wrote:

I liked vim and ruby.vim was nice, but I like literally being able to
drag and drop text with cocoa

I liked vim and ruby.vim was nice, but I like literally being able to
drag and drop text with cocoa

I don't know if anyone has mentioned this (haven't gotten through all of this mornings posts yet), but BBEdit.
BBEdit costs money, although you can download a free trial version
http://www.barebones.com/index.shtml
BBEdit supports ruby syntax highlighting - including all types of quoted strings and regexps.
I have been using BBEdit (and vim) to do all my development for about 6 months (since I got my mac) and it works for me. BBEdit has excellent search / replace capabilities (supports regular expressions with pretty much the same syntax as those used in Ruby - the only difference I have noticed is \r matches a newline instead of \n).
Anyway, I like it and if your looking for an editor with a GUI I suggest you try it.
-Charlie

···

On Jul 9, 2004, at 5:32 AM, Michael Fivis wrote:

On Fri, 9 Jul 2004 20:34:15 +0900, Jim Menard <jimm@io.com> wrote:

Michael,

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?

Emacs runs in Terminal, and with ruby-mode.el (or whatever it's called) you
can have colorized/highlighted text.

Jim
--
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"Any sufficiently advanced technology is insufficiently documented."
    -- kabdib on slashdot

--
</michael fivis>

Charles Mills wrote:

Michael Fivis wrote:

Hello, fellow OS X Ruby fans. I was wondering if there was any nice
Cocoa/Carbon (with ruby highlighting/features) editor that you
use/know about?
I've been using the collaborative text editor, SubEthaEdit, which I
enjoy a lot -- and hope to enjoy even more now that Rendezvous has
been unleashed for all platforms (which would mean someone is going to
write compatible Rendezvous text editors for windows/linux).

I use Eclipse 3.0 + RDT plugin.

Do you know if CDT works on OS X?

I installed CDT but hadn't compiled or run any programs since updating to Eclipse 3.0 release. No time like the present, eh?

The answer is yes, mostly. Editing, syntax highlighting, running make all worked just fine. I wasn't able to select the resulting executable in the Run panel using the "Browse" button, but when I typed it in manually it ran just fine.

To tell the truth, though, I don't do much vanilla C/C++ programming any more. For OS X specific stuff, I use Objective C + Xcode. For teaching I use java + eclipse. For my own use outside the classroom (and when I can sneak it into class examples), it's Ruby of course.

--paul

···

On Jul 9, 2004, at 8:52 AM, Paul Sanchez wrote:

Plus the ability to run ruby code right from the editor and save the results to a file, display in a new or common window, and more.

···

On Jul 9, 2004, at 8:47 AM, Travis Britt wrote:

On Jul 9, 2004, at 8:32 AM, Michael Fivis wrote:

I liked vim and ruby.vim was nice, but I like literally being able to
drag and drop text with cocoa

BBEdit ($) has a Ruby syntax highlighter and function navigation plugin available: