example of a custom script for Kate

Kåre Särs kare.sars at mailbox.org
Tue Jul 14 08:52:35 BST 2020


Hi,

On måndag 13 juli 2020 kl. 06:41:20 EEST Bohdan Mushkevych wrote:
> Hi Chenxiong
> 
> Thank you for the email and please excuse late reply.
> 
> I see this plugin in *kate/addons *github repository [1], but I am not sure
> where to look for build instructions. Also - it doesn't seem as Ubuntu
> 18.04 LTS has anything like *kdeaddons* or similar package.
> 
> Could you please advise on how to install "External Tools" into Kate on
> Ubuntu 18.04?

I don't remember exactly when the External tools plugin was (re)added. It could be that the Ubuntu 
18.04 version of Kate does not have that plugin. Updating to Ubuntu 20.04 should give you that 
plugin.

/Kåre

> 
> Sincerely,
> Dan
> 
> [1] https://github.com/KDE/kate/tree/master/addons
> 
> On Tue, 7 Jul 2020 at 20:06, Chenxiong Qi <qcxhome at gmail.com> wrote:
> > Hi Bohdan,
> > 
> > External Tools plugin has a predefined "JSON Format Full File". Maybe
> > you can have a try.
> > 
> > On 7/2/20 5:41 AM, Bohdan Mushkevych wrote:
> > > Hi
> > > 
> > > First of all - thank you great text editor Kate.
> > > Recently I started looking on how to add a simple command to format
> > > JSON, and tried to follow the blogpost from 2009 [1].
> > > However it did not work for me.
> > > 
> > > Perhaps you have a Github example of how-to a simple custom command
> > > would look like?
> > > Afterall, I probably don't need a long blog post - just a source code to
> > > peek into.
> > > 
> > > Sincerely,
> > > Dan
> > > 
> > > [1]
> > > https://kate-editor.org/2009/10/29/extending-kate-with-scripts/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20200714/590bb919/attachment.htm>


More information about the KWrite-Devel mailing list