With Package Control
- Type
Cmd-Shift-P
on Os X, orCtrl-Shift-P
on Windows/Linux. - Install the plugin with
Package Control: Install Package
,Drupal Snippets
.
- Open Prefences -> Browse Packages from the menu.
- Clone this repository or download and unpack the zip package to the 'Users' directory.
- Type hook_HOOKNAME for annotated snippets, or h_HOOKNAME for the non-annotated versions.
- Most snippets include multiple placemarks.
Snippets generated from Vim Drupal snipMate snippets.
https://github.com/juhasz/drupal-snippets/commit/1596001b8ac1e90d5a750e7e8226e01803df55c1
Snippets generated with vim-snippet2sublime-snippets converter.
https://github.com/juhasz/vim-snippet2sublime-snippets/commit/75b0b78826f584a1048624692131af6bfbaf84ec