[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: example of a custom script for Kate
From:       Dominik Haumann <dhaumann () kde ! org>
Date:       2020-07-25 6:42:25
Message-ID: CALi_srCjMcm_bQAYD5Zpk6KqA4MwC7P7NWriFQoDLbtr4k8v8g () mail ! gmail ! com
[Download RAW message or body]

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 <mushkevych@gmail.com> 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 <mushkevych@gmail.com>
> 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 <qcxhome@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/
>>>
>>

[Attachment #3 (text/html)]

<div dir="auto">You have to update Kate and KTextEditor as well, since the External \
Tools plugin uses new API that was added later.<div dir="auto"><br></div><div \
dir="auto">I suggest you use the AppImage or similar instead, e.g.:</div><div \
dir="auto"><a href="https://binary-factory.kde.org/job/Kate_Release_appimage/">https://binary-factory.kde.org/job/Kate_Release_appimage/</a><br></div><div \
dir="auto"><br></div><div dir="auto">Best regards</div><div \
dir="auto">Dominik</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Bohdan Mushkevych &lt;<a \
href="mailto:mushkevych@gmail.com">mushkevych@gmail.com</a>&gt; schrieb am Do., 23. \
Juli 2020, 21:20:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div \
class="gmail_default" style="font-size:large">Greetings</div><div \
class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">Just wondering if you could advise on how to install \
&quot;External Tools&quot; into <span>Kate</span> on Ubuntu 18.04?</div><div \
class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">Sincerely,<br></div><div class="gmail_default" \
style="font-size:large">Dan<br></div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Sun, 12 Jul 2020 at 20:41, Bohdan Mushkevych &lt;<a \
href="mailto:mushkevych@gmail.com" target="_blank" \
rel="noreferrer">mushkevych@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" \
style="font-size:large">Hi Chenxiong</div><div class="gmail_default" \
style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">Thank you for the email and please excuse late \
reply.</div><div class="gmail_default" style="font-size:large"><br></div><div \
class="gmail_default" style="font-size:large">I see this plugin in <i>kate/addons \
</i>github repository [1], but I am not sure where to look for build instructions. \
Also - it doesn&#39;t seem as Ubuntu 18.04 LTS has anything like <i>kdeaddons</i> or \
similar package.</div><div class="gmail_default" \
style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">Could you please advise on how to install &quot;External \
Tools&quot; into Kate on Ubuntu 18.04?</div><div class="gmail_default" \
style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">Sincerely,</div><div class="gmail_default" \
style="font-size:large">Dan<br></div><div class="gmail_default" \
style="font-size:large"><br></div><div class="gmail_default" \
style="font-size:large">[1] <a href="https://github.com/KDE/kate/tree/master/addons" \
target="_blank" rel="noreferrer">https://github.com/KDE/kate/tree/master/addons</a></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Jul 2020 at 20:06, \
Chenxiong Qi &lt;<a href="mailto:qcxhome@gmail.com" target="_blank" \
rel="noreferrer">qcxhome@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hi Bohdan,<br> <br>
External Tools plugin has a predefined &quot;JSON Format Full File&quot;. Maybe <br>
you can have a try.<br>
<br>
On 7/2/20 5:41 AM, Bohdan Mushkevych wrote:<br>
&gt; Hi<br>
&gt; <br>
&gt; First of all - thank you great text editor Kate.<br>
&gt; Recently I started looking on how to add a simple command to format <br>
&gt; JSON, and tried to follow the blogpost from 2009 [1].<br>
&gt; However it did not work for me.<br>
&gt; <br>
&gt; Perhaps you have a Github example of how-to a simple custom command <br>
&gt; would look like?<br>
&gt; Afterall, I probably don&#39;t need a long blog post - just a source code to \
<br> &gt; peek into.<br>
&gt; <br>
&gt; Sincerely,<br>
&gt; Dan<br>
&gt; <br>
&gt; [1]<br>
&gt; <a href="https://kate-editor.org/2009/10/29/extending-kate-with-scripts/" \
rel="noreferrer noreferrer" \
target="_blank">https://kate-editor.org/2009/10/29/extending-kate-with-scripts/</a><br>
 </blockquote></div>
</blockquote></div>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic