Re: Snippets loading from file

Christoph Cullmann <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.