Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

jEdit – Now A Solid, Cross Platform Ruby IDE Too

By Peter Cooper / November 28, 2006

Jedit

Jim Morris declares that jEdit could be "Textmate for the rest of us". jEdit will be familiar to many developers as a language agnostic IDE created with Java (though significantly less bulky than Eclipse!), but even I was surprised to hear this:

Yes JEdit actually has intellisense-like completion for Ruby. A previous blog entry of mine explained how I tried Komodo to get this, but it was not very good, however the JEdit version found in the latest RubyPlugin, works pretty well, I think it uses parsing from the JRuby project, so no surprise it works.

Morris continues to explain how he has developed macros for jEdit to replicate numerous TextMate features, such as expanding # to #{} when typing within a string and points to other macros to get a TextMate-like experience for free.

Quickly following up on that bumper post, just a few days ago Morris released a large collection of Ruby "Snippets" that you can use easily from within jEdit. Sterling work, and yet another great option for Ruby developers looking for an IDE.

(Thanks to Charles Roper for the lead)

Comments

  1. Scott Becker says:

    Awesome. A little while back I created a bunch of Rails "Snippets' for jEdit / SuperAbbrevs as well. You can still find them here: http://synthesis.sbecker.net/articles/2006/03/20/jedit-snippets-for-ruby-on-rails

    I've since defected to the Mac / Textmate world and no longer use them, but they should be handy for anyone doing Rails development with jEdit - the best editor besides Textmate, in my opinon.

  2. Stephan Tual says:

    RadRails does the trick for me, but I must admit I've always been jealous of the intellisense features in Textmate. I reckon it's a ploy to get us all buying Macbooks :D

  3. jinah adam says:

    exactly what i was looking for.

  4. Charles Roper says:

    jEdit is really becoming nicely mature for Ruby and Rails development now. A quick Google for "jedit rails" or "jedit ruby" will reveal lots of blog entries discussing jEdit as a Ruby/Rails editor. The many varied an excellent plugins, and the power of its Beanshell (essentially a script version of Java) scripting make it feel a bit like the Firefox of editors.

    In the spirit of sharing stuff for jEdit, a couple of macros I've written for the excellent Cheat RubyGem can be found here:

    http://homepages.nildram.co.uk/~charlesr/jedit/cheat_macros.zip

    And the dark TextMate-esque colour scheme I use can be downloaded here:

    http://homepages.nildram.co.uk/~charlesr/jedit/DobDark.zip

    Drop the macros into your .jedit/macros directory and the colour scheme file into your .jedit/schemes directory (install the Editor Scheme plugin first).

  5. Alexander Lomakin says:

    I think that better way to edit code of Ruby on Rails applications is to use Radrails.

  6. Charles Roper says:

    I've uploaded a screenshot of my jEdit config as an example of what jEdit can look like when fully kitted out for editing Ruby (and Rails).

    http://www.flickr.com/photos/77224640@N00/308623286/

  7. Saimon Moore says:

    Jim's article is great. I wrote a similar article with I think is complementary and useful for anyone interested in jedit.

    http://saimonmoore.net/2006/1/24/jedit-for-ruby-rails-development

  8. Jim Morris says:

    Thank you for the nice words, but I have to say I stood on the shoulders of giants to get there :) Most of what I did was heavily based on previous authors works, and blogs. So I have to thank everyone who has contributed to JEdit to make it a good tool for Ruby/Rails development. The snippets I added were extracted from the actual Textmate snippets bundles by a script written by the VIM folks to do the same thing, then another script written by myself to convert to SuperAbbrevs format, I'm hoping this will allow me to keep them in sync with Textmate, although I have yet to figure out how to convert the intelligent snippets from textmate format to SuperAbbrevs format. I also have tried to contact the SuperAbbrevs author with a few suggestions to make that job easier, but his email at sourceforge is bouncing.

  9. Gavin says:

    SuperAbbrevs author: I think I met him on IRC the other day... ask around in #jedit on irc.freenode.org.

  10. piggybox says:

    I used to use jEdit for Rails development in the early time. I even made a color theme to mimic Textmate exactly. Now I use Vim, Rails plugin for Vim just rocks. jEdit is a bit slow on longer file, and pretty slow when auto-completing since it will search rdoc at the same time. jEdit also lacks many Rails support comparing to Vim Rails plugin and I couldn't find a SVN plugin for jEdit. But these things are OK. What I hate is the moment when jEdit stops responding and hard driver keeps making noise, maybe my Thinkpad t42 is way too slow...

Other Posts to Enjoy

Twitter Mentions