Re: example of a custom script for Kate
Dominik Haumann <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <CALi_srCjMcm_bQAYD5Zpk6KqA4MwC7P7NWriFQoDLbtr4k8v8g@mail.gmail.com> |
You have to update Kate and KTextEditor as well, since the External Tools plugin uses new API that was added later. I suggest you use the AppImage or similar instead, e.g.: https://binary-factory.kde.org/job/Kate_Release_appimage/ Best regards Dominik Bohdan Mushkevych <[email protected]> schrieb am Do., 23. Juli 2020, 21:20: > Greetings > > Just wondering if you could advise on how to install "External Tools" into > Kate on Ubuntu 18.04? > > Sincerely, > Dan > > On Sun, 12 Jul 2020 at 20:41, Bohdan Mushkevych <[email protected]> > 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? >> >> 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/ >>> >>