| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
May 11, 2016 D Yasnippet | ||||
|---|---|---|---|---|
| ||||
Have anybody put together Yasnipets for D? | ||||
May 11, 2016 Re: D Yasnippet | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nordlöw Attachments:
| 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 Re: D Yasnippet | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | 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 Re: D Yasnippet | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nordlöw Attachments:
| 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 Re: D Yasnippet | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | 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
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply