ChrisCodes.com

Ruby on Rails Syntax Highlighting for kdewebdev, kate, kdevelop

I've had this file up for awhile, but it was just recently brought to my attention that since a recent server move, it's been missing.
Originally I posted to the kdewebdev list, and to the rails wiki, but somehow I never posted here.

Right Click and Save this rhtml.xml file to [kde prefix]/share/apps/katepart/syntax/rhtml.xml
Your kde prefix is usually /usr or /opt/kde3, it can easily be found with:

locate katepart

The file can be used to provide syntax highlighting for .rhtml files to any editor in KDE that makes use of Katepart.

Most notably, it will turn Quanta + into a powerful IDE for Ruby on Rails projects. A beautiful side effect of KDE, is that you can open .rhtml files in Kate, or Kdevelop, and they too will make use of the syntax highlighting.

The file was made for an older Rails version, so it does need to be updated.
I use it daily and it works fine for what it is (A hacked together syntax file )
Hopefully I'll get to updating it soon.
If anyone beats me to it, please send me the update, and I'll post it here.

Chris keyed this in on: 2006-05-01
Filed in: KDE, Linux, Rails, Ruby, Web Development

Feed Icon

Copyright © 2009 Chris Martin