Wednesday, July 15, 2009

A MATLAB xml file for Kate and Kwrite that supports block comments

Copy the file matlab.xml from /usr/share/apps/katepart/syntax/
to the subdirectory
/usr/share/apps/katepart/syntax/

In line 59: replace "Source" by "Scientific"

language name="Matlab" version="1.21" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1"

Enjoy!

No comments: