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

List:       kwrite-devel
Subject:    Re: Snippets loading from file
From:       Alex Turbov <i.zaufi () gmail ! com>
Date:       2021-07-25 12:23:16
Message-ID: CANktQtuweN7VupM9g2qgSpOoffe8J8_CCBK_-bpw1CSDq3fo6A () mail ! gmail ! com
[Download RAW message or body]

Yeah, I read/understood it incorrectly (late night :)
Thanks for clarifications =F0=9F=98=83

On Sun, Jul 25, 2021, 12:48 PM Christoph Cullmann <christoph@cullmann.io>
wrote:

> On 2021-07-25 06:50, Simon Walter wrote:
> > On 7/25/21 10:57 AM, Alex Turbov wrote:
> >> On Sun, Jul 25, 2021 at 1:45 AM Christoph Cullmann
> >> <christoph@cullmann.io <mailto:christoph@cullmann.io>> wrote:
> >>
> >>     On 2021-07-24 14:12, Simon Walter wrote:
> >>      > Hi all,
> >>      >
> >>      > I'd like to be able to, load snippets from file.
> >>      >
> >>      > The reason is that I'd like to be able to keep snippets in the
> >>      > project's
> >>      > git repo.
> >>      >
> >>      > From what I can tell, it looks like I can only load from "Get
> >> Hot New
> >>      > Stuff" API. Is that the case?
> >>
> >>     Hi,
> >>
> >>     yes, I think you are right.
> >>
> >>     For the local stuff you could version the files stored in the
> >> default
> >>     locations
> >>     but at the moment there is no way to e.g. have per project
> >> snippets
> >>     or to load them from dedicated positions.
> >>
> >>     e.g. for project related snippets it could make sense to integrate
> >>     the snippets plugin like the search plugin with our projects
> >> plugin
> >>     and load stuff stored project locally automatically or allow
> >>     to specify in .kateproject json where to load stuff from.
> > ...
> >> > Please Noooo! I use the snippets plugin intensively and **NEVER** us=
e
> >> the project plugin.
> >>
> >>
> >
> > To clarify, I don't mean the project plugin. I used the word "project"
> > in a generic sense.
> >
> > However, that will not put you at ease if you think that adding a
> > feature will remove other features. I do have sympathy and can imagine
> > why you might think that.
> >
> > Recent trends demand the user to conform to the developer's whims
> > rather than the developer respecting the user, tradition, standards,
> > APIs, standing on shoulders, etc. I'm not sure why open source
> > developers feel the need to mimic this destructive behavior of jerking
> > around their users. I wish I had all the features that I had back in
> > 1999. I could literally do more with my computer back then.
>
> For Alex: please take a look how that integration is done in the search
> plugin.
>
> If you have no project plugin loaded, nothing changes for you.
> (and for sure nothing is removed)
>
> If you have the project plugin loaded, the search plugin just provides
> "extra" features,
> the search in project.
>
> If the same is done for other plugins, I don't see any harm, you will
> not see any change and people using the project stuff will benefit.
>
> Greetings
> Christoph
>
> >
> > Simon
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
>

[Attachment #3 (text/html)]

<div dir="auto">Yeah, I read/understood it incorrectly (late night :)<div \
dir="auto">Thanks for clarifications 😃</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 25, 2021, 12:48 PM \
Christoph Cullmann &lt;<a \
href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 2021-07-25 06:50, Simon Walter \
wrote:<br> &gt; On 7/25/21 10:57 AM, Alex Turbov wrote:<br>
&gt;&gt; On Sun, Jul 25, 2021 at 1:45 AM Christoph Cullmann <br>
&gt;&gt; &lt;<a href="mailto:christoph@cullmann.io" target="_blank" \
rel="noreferrer">christoph@cullmann.io</a> &lt;mailto:<a \
href="mailto:christoph@cullmann.io" target="_blank" \
rel="noreferrer">christoph@cullmann.io</a>&gt;&gt; wrote:<br> &gt;&gt; <br>
&gt;&gt;        On 2021-07-24 14:12, Simon Walter wrote:<br>
&gt;&gt;         &gt; Hi all,<br>
&gt;&gt;         &gt;<br>
&gt;&gt;         &gt; I&#39;d like to be able to, load snippets from file.<br>
&gt;&gt;         &gt;<br>
&gt;&gt;         &gt; The reason is that I&#39;d like to be able to keep snippets in \
the<br> &gt;&gt;         &gt; project&#39;s<br>
&gt;&gt;         &gt; git repo.<br>
&gt;&gt;         &gt;<br>
&gt;&gt;         &gt; From what I can tell, it looks like I can only load from \
&quot;Get <br> &gt;&gt; Hot New<br>
&gt;&gt;         &gt; Stuff&quot; API. Is that the case?<br>
&gt;&gt; <br>
&gt;&gt;        Hi,<br>
&gt;&gt; <br>
&gt;&gt;        yes, I think you are right.<br>
&gt;&gt; <br>
&gt;&gt;        For the local stuff you could version the files stored in the <br>
&gt;&gt; default<br>
&gt;&gt;        locations<br>
&gt;&gt;        but at the moment there is no way to e.g. have per project <br>
&gt;&gt; snippets<br>
&gt;&gt;        or to load them from dedicated positions.<br>
&gt;&gt; <br>
&gt;&gt;        e.g. for project related snippets it could make sense to \
integrate<br> &gt;&gt;        the snippets plugin like the search plugin with our \
projects <br> &gt;&gt; plugin<br>
&gt;&gt;        and load stuff stored project locally automatically or allow<br>
&gt;&gt;        to specify in .kateproject json where to load stuff from.<br>
&gt; ...<br>
&gt;&gt; &gt; Please Noooo! I use the snippets plugin intensively and **NEVER** \
use<br> &gt;&gt; the project plugin.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt; To clarify, I don&#39;t mean the project plugin. I used the word \
&quot;project&quot;<br> &gt; in a generic sense.<br>
&gt; <br>
&gt; However, that will not put you at ease if you think that adding a<br>
&gt; feature will remove other features. I do have sympathy and can imagine<br>
&gt; why you might think that.<br>
&gt; <br>
&gt; Recent trends demand the user to conform to the developer&#39;s whims<br>
&gt; rather than the developer respecting the user, tradition, standards,<br>
&gt; APIs, standing on shoulders, etc. I&#39;m not sure why open source<br>
&gt; developers feel the need to mimic this destructive behavior of jerking<br>
&gt; around their users. I wish I had all the features that I had back in<br>
&gt; 1999. I could literally do more with my computer back then.<br>
<br>
For Alex: please take a look how that integration is done in the search <br>
plugin.<br>
<br>
If you have no project plugin loaded, nothing changes for you.<br>
(and for sure nothing is removed)<br>
<br>
If you have the project plugin loaded, the search plugin just provides <br>
&quot;extra&quot; features,<br>
the search in project.<br>
<br>
If the same is done for other plugins, I don&#39;t see any harm, you will<br>
not see any change and people using the project stuff will benefit.<br>
<br>
Greetings<br>
Christoph<br>
<br>
&gt; <br>
&gt; Simon<br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer noreferrer" \
target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" \
rel="noreferrer noreferrer" target="_blank">https://kate-editor.org</a><br> \
</blockquote></div>



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

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