Fw: TypeScript Syntax in Kate
My Email
gmmarcus at outlook.my
Sat Feb 3 18:13:54 UTC 2018
Hi RhKramer,
My replies below ...
________________________________
From: KWrite-Devel <kwrite-devel-bounces at kde.org> on behalf of rhkramer at gmail.com <rhkramer at gmail.com>
Sent: Friday, February 2, 2018 10:30 PM
To: kwrite-devel at kde.org
Subject: Re: Fw: TypeScript Syntax in Kate
On Friday, February 02, 2018 01:30:18 AM My Email wrote:
> but i could not get it picked up by Kate. I have tried to get it to work
> with Kate v16 and Kate v17 but to no avail.
>
>
> U have any ideas ?
> Did you find and follow the instructions for making such a file active?
Yes, followed the instructions at https://github.com/PrettyFlower/KateTypeScriptSyntaxHighlighting
> I can't recite them off the top of my head, but I did create a .xml
> highlighting file. I think the prime requirement is to put it in a specific
> directory.
Yes, did that. And it did not get picked up. Thus my email to this group.
> Hmm, kate version 16 and 17--hmm, I don't recognize those numbers--are those
> very old or very new?
There are very new. Here is the link to the Kate website that shows versions ;
https://kate-editor.org/get-it/
There is nothing newer than version 17 as shown in the kate website.
> I guess your question would have saved me typing if you had been more explicit
> about how you tried to get the file to work--where did you install it and what
> did you do after installing it.
Well, as per the instructions in the github site above, I copied the typescript.xml
to;
kate4 ->/usr/share/kde4/apps/katepart/syntax/typescript.xml
and later for kate5 -> /home/username/.local/share/katepart5/syntax/typescript.xml
Restarted kate etc but the typescript.xml was not picked up under Tools -> Highlighting -> Scripts.
Rgds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180203/244dcd30/attachment.html>
More information about the KWrite-Devel
mailing list