Re: example of a custom script for Kate
Bohdan Mushkevych <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <CAARP_PsrceUeyB7cgfPfX_3o=Vd2CZqDBz6rs5nJt5Wn9QcKpA@mail.gmail.com> |
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? Sincerely, Dan [1] https://github.com/KDE/kate/tree/master/addons On Tue, 7 Jul 2020 at 20:06, Chenxiong Qi <[email protected]> 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/ >