Ruby Language Support in KDevelop4
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:
- don't let C++ parser to take all my memory when opening Ruby interpreter sources
- have proper X session management support to correctly reopen all my running KDevelop sessions at X startup
- 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.
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|