compman
compman

Reputation: 2204

Simple Ruby Editor?

This editor isn't intended for me. It's intended for teaching someone else Ruby. I largely use Emacs when writing Ruby. Does anyone know of an editor that

  1. indents the current line correctly when you press tab,
  2. can indent the whole file correctly (keyboard shortcut would be nice),
  3. has syntax highlighting for Ruby,
  4. other than that works kind of like Windows Notepad (maybe with a toolbar of icons),
  5. has a built in terminal (not absolutely required),
  6. has multiple editor tabs,
  7. and works on Windows, Linux, or both?

Or anything somewhat close?

Edit: I'm also going to add that I'd like to be available for free (legally for an indefinite period of time). Open source wouldn't hurt.

Upvotes: 4

Views: 1596

Answers (6)

cwoodall
cwoodall

Reputation: 49

If your main goal is to teach then you could try using Hackety Hack. It is somewhat weak at times, but I found it fun and simple to use, but then again I already knew ruby pretty well.

For a beginner being able to run the programs easily is very important so you want something where irb and ruby can be run very simply. Aptana seems to be a pretty good IDE for this sort of thing, but I have never used it myself aside for web development.

Aside from those two I suggest Notepad++... Also the free KomodoEdit might be worth a look. Personally I say teach the other person emacs, but then again shrug

Upvotes: 0

yasouser
yasouser

Reputation: 5187

If you are not a die hard fan of emacs, then there's always vim and its plugins for any programming language. Here's one for Ruby: rails.vim : Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more

If you are new to vim, this cheat sheet should help you: vim graphical cheat sheet

Upvotes: 2

Pablo Castellazzi
Pablo Castellazzi

Reputation: 4209

Since it's about teaching ruby RedCar and Diakonos are good choices. They have most of the features you mention and as a bonus both are written in Ruby.

Upvotes: 2

Stephen Van Dahm
Stephen Van Dahm

Reputation: 101

I don't think that jEdit has a built-in terminal, but I believe it does everything else you need. It's implemented in Java, so it should run on any platform for which a JVM exists, including Windows and Linux.

Upvotes: 2

Brian Knight
Brian Knight

Reputation: 5041

I like gedit - it doesn't have a terminal, but should work fine for the other requirements. It can run on Windows with Cygwin.

For a full-blown IDE, Aptana Studio is great. It meets your requirements.

Upvotes: 1

Pablo Fernandez
Pablo Fernandez

Reputation: 105258

Check Notepad++

enter image description here

Upvotes: 2

Related Questions