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 features we have so far in KDevelop 4 are:
- Ruby application template
- Ability to open existing projects with Generic Project Manager
- Quick Open Files/Classes/Functions and a Class View
- Outline and Previous/Next Function navigation
- Rails-specific switching between controllers/models/views/tests
- Run Current File feature with automatically created launch configuration
- Run Current Test Function (works only for Test::Unit framework), again with automatically created launch configuration
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:
See more screenshots at the Ruby support wiki page.
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!