THIS IS NOT A MODULE, but Drupal-specific "Live Templates" and "File Templates" for PhpStorm.

UPDATE

Manager script has been moved into another repository.
https://github.com/Sweetchuck/WebIdeConfigManager

Steps to start using it the first time:

  1. Exit from PhpStorm
  2. $ cd ~/where/you/want/to/store/the/config/files
  3. $ git clone https://github.com/Sweetchuck/WebIdeConfigManager.git
  4. $ cd WebIdeConfigManager/ConfigHome
  5. $ git clone --recursive --branch 7.x-1.x http://git.drupal.org/project/phpstorm_templates.git drupal
  6. $ cd ..
  7. $ ./WebIdeConfigManager.php push
  8. Start PhpStorm
  9. type "hook_mail" or whatever hook and press Tab for template.

To update:

  1. Exit from PhpStorm
  2. $ cd /PathTo/WebIdeConfigManager/ConfigHome/drupal
  3. $ git pull
  4. $ cd ../..
  5. One of:
    • $ ./WebIdeConfigManager.php push
    • OR
    • $ ./WebIdeConfigManager.php push -h drupal
  6. Start PhpStorm
  7. Enjoy.

Project Information