« See all posts

Ruby Language Support in KDevelop4

Posted by Alexander Dymo on March 01, 2010

It's been more than a week since I got back from Kate and KDevelop Hacksprint we had in Berlin, but I feel it's never late to write a blogpost about it.

The hacksprint was full of hacking, drinking awesome German beers, socializing, sightseeing and many more. I have to say I enjoyed every minute of it. Many thanks for Milian for organizing this event!

This time I set up a bold goal for myself. I had to make KDevelop 4 good for my everyday work and finally stop using KDevelop 3. For that to happen I had to do three simple things:

  1. don't let C++ parser to take all my memory when opening Ruby interpreter sources
  2. have proper X session management support to correctly reopen all my running KDevelop sessions at X startup
  3. implement Ruby language support (at least) with the same feature set as in KDevelop 3

Thanks to a good beer and to a good company, I did everything I planned!

Ruby Support

Ruby support features we have so far in KDevelop 4 are:

I've imported Gitorious project (yeah, it's Ruby on Rails!) to illustrate my words.

Quick Open Function
Rails-specific "Switch to View" navigation using regular Quick Open widget
Run Current File

To try Ruby support yourself, you'll need to compile the plugin from playground yourself. I have no plans to release it yet, but if you'd like to test it or use it for everyday work, please do. I'm writing Ruby code with KDevelop4 every day now, so the Ruby support is stable and I intend to keep it that way in the future.

This is only the beginning. Ahead is the long way to a best possible Ruby support in KDevelop 4. Stay tuned!

Next: KDevelop BoF on Wednesday at 16:00 in Area 4
Previous: The antiPad