ePerl syntax highlighting in Kate

Kate is a great editor. It has an extensible syntax highlighting facility built around XML files.

As ePerl is very similar to PHP in essence, I took the existing PHP highlighting scheme and adapted it to ePerl. I also had to modify the Perl syntax file to catch the :> and !> terminations. And that's it!

Installation

Copy the two following files in your ~/.kde/share/apps/katepart/syntax/ directory:

Restart Kate. All your .epl, .eperl, .phtml and .phtm files should be highlighted. If not, open the Tools menu, and select Syntax highlighting, Script, ePerl (HTML).

Tested in Kate 3.3.2 (KDE 4.3.2 / Ubuntu 9.10 Karmic Koala).

Known bugs

Xavier Robin
Published Sunday, June 20, 2010 10:53 CEST
Permalink: /blog/2010/06/20/eperl-syntax-highlighting-in-kate
Tags: Programming
Comments: 0

Passer en français

Search

Tags

Background noise Books Computers Fun Hobbies Internet Me Mozilla My website Photo Politics Programming School Software Ubuntu pROC

Recent posts

Calendar

MonTueWedThuFriSatSun
123456
78910111213
14151617181920
21222324252627
282930

Syndication

Recommend