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

Comments

No comment

New comment

* denotes a mandatory field.

By submitting your message, you accept to publish it under a CC BY-SA 3.0 license.

Some HTML tags are allowed: a[href, hreflang, title], br, em, i, strong, b, tt, samp, kbd, var, abbr[title], acronym[title], code, q[cite], sub, sup.

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