Snippets loading from file

Alex Turbov i.zaufi at gmail.com
Sun Jul 25 02:57:37 BST 2021


Please Noooo! I use the snippets plugin intensively and **NEVER** use the
project plugin.


On Sun, Jul 25, 2021 at 1:45 AM Christoph Cullmann <christoph at 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.
>
> Greetings
> Christoph
>
> >
> > Best regards,
> >
> > Simon
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20210725/0b0e474c/attachment.htm>


More information about the KWrite-Devel mailing list