www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D Yasnippet

reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
Have anybody put together Yasnipets for D?
May 11 2016
next sibling parent reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Wed, 2016-05-11 at 15:01 +0000, Nordl=C3=B6w 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. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 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
parent reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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 11 2016
parent Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Wed, 2016-05-11 at 23:24 +0000, Nordl=C3=B6w 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=C2=A0
 package for them I'd be happy to add it to the things that get=C2=A0
 uploaded to MELPA.
=20 I put together a couple here: =20 https://github.com/nordlow/elisp/tree/master/mine/snippets/d-mode =20 I will added a Github repo later on. =20 One question: =20 Can I define multiple keys for a single snippet? I've tried all=C2=A0 kinds of things but it seem to override with last only.
Sorry, I have no idea: I haven't got into the snippets thing. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 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
prev sibling parent Atila Neves <atila.neves gmail.com> writes:
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
May 12 2016