Last updated August 29, 2014. Created on February 16, 2010.
Edited by kaare, myglobaldata_gil, johnwarren, silverwing. Log in to edit this page.

Well, all good developers know Emacs, so they have necessarily heard of YASnippet (a self automatic expansion template)!

So I told myself that it was fine, but that this would be used for the encoded on drupal? so I seek but I cannot find anything very conclusive:

As they say, it is never better served than to go or even when I have results now and develop a small library of self hook for YASnippet template, auto completion and with the name of the hook (it was just for show yeah)!

For those who have not yet installed it thus:
http://code.google.com/p/yasnippet/

Once installed and ready your Emacs just stick my librairy php-mode in the directory YASnippet snippet of which is available at this address (in the attachement):
http://www.cestfait.ch/content/yasnippet-drupal

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

johnstorey’s picture

Then go here: http://sachachua.com/wp/2008/07/yet-another-snippet-mode-for-emacs/ to get a first cut at code templates for writing Drupal 6 modules development. My follow on to that post can be found at our old blog, here: http://judahskye.com/content/yasnippet-emacs-and-drupal-modules, wherein I make some minor improvements to Sacha's original work.