Thread overview
D Yasnippet
May 11, 2016
Nordlöw
May 11, 2016
Russel Winder
May 11, 2016
Nordlöw
May 12, 2016
Russel Winder
May 12, 2016
Atila Neves
May 11, 2016
Have anybody put together Yasnipets for D?
May 11, 2016
On Wed, 2016-05-11 at 15:01 +0000, Nordlöw via Digitalmars-d wrote:
> Have anybody put together Yasnipets for D?

Not as far as I know, but if anyone puts together an Emacs package for them I'd be happy to add it to the things that get uploaded to MELPA.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



May 11, 2016
On Wednesday, 11 May 2016 at 16:09:50 UTC, Russel Winder wrote:
> Not as far as I know, but if anyone puts together an Emacs package for them I'd be happy to add it to the things that get uploaded to MELPA.

I put together a couple here:

https://github.com/nordlow/elisp/tree/master/mine/snippets/d-mode

I will added a Github repo later on.

One question:

Can I define multiple keys for a single snippet? I've tried all kinds of things but it seem to override with last only.
May 12, 2016
On Wed, 2016-05-11 at 23:24 +0000, Nordlöw via Digitalmars-d wrote:
> On Wednesday, 11 May 2016 at 16:09:50 UTC, Russel Winder wrote:
> > Not as far as I know, but if anyone puts together an Emacs package for them I'd be happy to add it to the things that get uploaded to MELPA.
> 
> I put together a couple here:
> 
> https://github.com/nordlow/elisp/tree/master/mine/snippets/d-mode
> 
> I will added a Github repo later on.
> 
> One question:
> 
> Can I define multiple keys for a single snippet? I've tried all kinds of things but it seem to override with last only.

Sorry, I have no idea: I haven't got into the snippets thing.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

May 12, 2016
On Wednesday, 11 May 2016 at 15:01:51 UTC, Nordlöw wrote:
> Have anybody put together Yasnipets for D?

I copied a few C++ ones and adapted them for D. I find I don't use them much, mostly the one that writes the main function.

Atila