[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-scm-interest
Subject:    [Kde-scm-interest]  Kate syntax for svn2git import rules
From:       Nicolas Alvarez <nicolas.alvarez () gmail ! com>
Date:       2010-12-05 2:10:14
Message-ID: idesa9$lo0$1 () dough ! gmane ! org
[Download RAW message or body]

Hi all,

Writing svn2git import rules, but hate seeing all-black code? This is just 
what you need. I'm working on a Kate syntax highlighting script for rule 
files. It's working quite well, although a few things aren't yet supported.

You may download it from:
http://gitweb.kde.org/scratch/nalvarez/svn2git-kate.git

Just copy svn2git.xml to ~/.kde/share/apps/katepart/syntax.


"create repository", "end repository", etc. are considered individual 
keywords; "create" alone isn't highlighted. Similarly, most keywords are 
only supported inside the correct blocks. "branch" is only highlighted 
inside a "match", "revision" only works after "min" or "max", etc.

I'm not sure if this is the right approach. For example, it may look bad to 
start typing "create repository" and not see "create" formatted as a keyword 
immediately. Only way to know is with some real-world testing.

Feedback very welcome.

-- 
Nicolas


_______________________________________________
Kde-scm-interest mailing list
Kde-scm-interest@kde.org
https://mail.kde.org/mailman/listinfo/kde-scm-interest
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic