Features Tutorials

Rolling with Ruby on Rails and IntelliJ IDEA

Our team has published the first implementation of Ruby plugin that turns IntelliJ IDEA into a decent IDE for developing Ruby and Ruby on Rails applications.
Despite it’s in beta stage as of yet, it has recevied very positive feedback from Marty Andrews, the professional Ruby developer.
The plugin feature highlights are very impressive as well:

  • Dedicated Ruby and Rails modules with Ruby SDK support
  • Dedicated Rails project view
  • Basic code completion for Ruby keywords
  • Automatic completion for Ruby statements
  • Ruby syntax highlighting with braces matching
  • Ruby code formatting and automatic code styling
  • On-the-fly error checking and code validation
  • Smart structure view for Ruby files
  • Quick Ruby documentation (RDoc) view and lookup
  • Dedicated run configuration for Ruby and Rails with support for scripts
  • Intention actions to automatically create Ruby access modifiers and Rails skeletons and actions
  • Support for Go to class, file and symbol for Ruby files
  • Quick access to Rails generators and Rake tasks through context menus

So, stay tuned with the latest plugin updates that will include smart RHTML completion, extended syntax highlighting, quick fixes and more of other productivity-aimed enhancements.
I have created the Ruby development live demo that shows how to create a sample Ruby application with IntelliJ IDEA. You can watch it or download in archive.
For more information about features, see the Ruby and Ruby on Rails Development page.
For latest plugin updates, release notes, discussions and bug tracking see the Ruby Plugin Home Page.

Technorati tags: , , , ,
Comments below can no longer be edited.

12 Responses to Rolling with Ruby on Rails and IntelliJ IDEA

  1. Avatar

    bobes says:

    February 1, 2007

    Thank you, thank you, thank you. This is the best thing that could happen to all JAVA&RoR developers πŸ™‚

  2. Avatar

    Ahmed Mohombe says:

    February 1, 2007

    IMHO you should post the above blog post on the official RoR blog too:
    http://weblog.rubyonrails.org/
    in order to get a higher attention.
    Also don’t forget to mention that IDEA is free for open source projects (as many of RoR developers still use it for OS projects), before everybody is jumping and screaming that RADRails is free and Textmate is only 40$ compared to Idea’s 400$.

  3. Avatar

    Ann Oreshnikova says:

    February 1, 2007

    Thank you Ahmed for pointing that out πŸ™‚
    Really good point!

  4. Avatar

    t800t8 says:

    February 1, 2007

    I knew that it already has a Groovy plugin for IDEA, but it still has many things to do. Hope that next one will be GroovyJ.

  5. Avatar

    Saad says:

    February 2, 2007

    Would this plug-in work in older versions of IntelliJ such as 5.1?

  6. Avatar

    Egor Malyshev says:

    February 2, 2007

    As of yet, the Ruby plugin supports only IntelliJ IDEA 6.x Support for EAP versions will be added soon.

  7. Avatar

    Erik Pragt says:

    February 2, 2007

    Very neatly done, but I’m much more interested in a Groovy version of this plugin. The current Groovy plugin is nice, but lacks a whole lot of features. Basically, it’s more like a syntax highlighter than anything else, while the power of IntelliJ could make it great, eg:

    Code completion, including Groovy JDK extension (Groovy SDK?) and closures
    Better syntax highlighting (think regular expressions)
    And the same as the things above.

    It will make developing Groovy/Grails even better, and possibly even more popular!

  8. Avatar

    Ahmed Mohombe says:

    February 2, 2007

    Erik,
    AFAIK the GroovyJ plug-in is made by the Groovy community, not by Jetbrains, and everybody can participate and improve it.
    IMHO for feature requrests, wishes or just feedback the GroovyJ list is a better place, as I’m not sure if the authors follow this blog too.

  9. Avatar

    Steve says:

    February 3, 2007

    I second (or third) the motion on the groovyJ plugin. I realize that it is open source but Intellij could sponsor the project in some way or another. With all due respect to the author whom I’m sure is quite busy and puts as much time into the plugin as possible, it has become quite stagnant. I’m all for Ruby support (or JRuby support) but would be much happier to have groovy for my ant builds, scripting, grails, etc.

  10. Avatar

    Erik Pragt says:

    February 5, 2007

    Ahmed,

    I know the GroovyJ plugin is externally developed, but I don’t have the feeling that posting feature requests will make the plugin better, nor will the open source state really be an extra motivation to expand the GroovyJ to match the Ruby functionality. for I lack the time and the knowledge to create such a plugin. The Jetbrains crew are much more up to the task, so I am really hoping for a Groovy port of this plugin!

  11. Avatar

    t800t8 says:

    February 8, 2007

    Erik,

    How about a poll for a Groovy plug-in? πŸ˜‰

  12. Avatar

    LÑďa says:

    February 9, 2007

    What about a some kind of Ruby and RoR only IDE? I think that many developers would be willing to spend some money to have it, without paying extra costs for all the Java stuff πŸ˜‰

Discover more