Hackery, Math & Design

Steven Wittens i

TextMate Drupal Bundle

Update: new version available.

Jeff Robbins is a TextMate user, like me. He was asking about a Drupal editing bundle for it, when I realized it wouldn't be hard to generate automatically.

So, if you find yourself going to drupaldocs.org often to look up the arguments for a particular function, you'll love this. It generates autocomplete snippets for all of Drupal. Simply type the function name and hit tab to see all the arguments. Each argument is a separate placeholder so you can easily tab from one to the other.

To use it, place it in ~/Library/Application Support/TextMate/Bundles and run it: php generate.php.txt [path to drupal]

Once you restart TextMate, it should pick up the new bundle.

Drupal

This article contains graphics made with WebGL, which your browser does not seem to support.
Try Google Chrome or Mozilla Firefox. ×