AW: Best way to create and develop a kate syntax highlighting file

Andreas Plank andreas.plank at fu-berlin.de
Tue Sep 29 08:45:23 BST 2020



> -----Ursprüngliche Nachricht-----
> Von: KWrite-Devel [mailto:kwrite-devel-bounces at kde.org] Im Auftrag von
> rhkramer at gmail.com
> Gesendet: Donnerstag, 24. September 2020 14:15
> An: kwrite-devel at kde.org
> Betreff: Re: Best way to create and develop a kate syntax highlighting
file
> 
> On Thursday, September 24, 2020 05:15:36 AM Andreas Plank wrote:
> > I want to develop and write a SPARQL syntax highlighting file, my
> > question: what tool, IDE or XML editor is the most comfortable one that
> > has all the XML elements and possible XML attributes in it out of the
box?
> 
> I'm not familiar with SPARQL (from Wikipedia, it is "an RDF query
language").
> I would look for another language that is similar to SPARQL which has a(n
> XML)
> syntax highlighter for kate and modify it.
[Andreas Plank] 

sure, I did this ;-) but regarding the extensive KSyntaxHighlighting
attributes and elements is there a smart way to edit with? I mean an editor
tool or text snippet tools or even a list of definitions? I saw and read the
api of KSyntaxHighlighting and I guess I have to extract KSyntaxHighlighting
elements or attributes on my own. 

It would be nice to have a tool to start with like Notepad++ has for
creating syntax highlighting files ;-)

> 
> > Or do I have to fiddle around with just Kate (?KDevelop) and the
external
> > documentation of syntax highlighting?
> >
> > It would be nice to have some templates although I know I can use the
> > existing syntax highlighting files as such and alter them to my needs
but
> > it is difficult to grasp all the possibilities of context definitions at
> > once.
> >
> > Or is there a conversion tool from another editor framework into
> > KSyntaxHighlighting?



More information about the KWrite-Devel mailing list