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