Drupal-PHPStorm-Live-Templates icon indicating copy to clipboard operation
Drupal-PHPStorm-Live-Templates copied to clipboard

Consider different filename and template group

Open drubb opened this issue 12 years ago • 0 comments

PHPStorm supports multiple configuration files and groups for live templates. Changes made using the IDE interface go to file user.xml and template group "user".

To separate your (great!) stuff from user settings, I'd suggest using a different filename and group in the script, e.g. "d7_hooks". Just change the filename to "d7_hooks.xml" and the template group to "d7_hooks", using templateSet group="d7_hooks".

This way you avoid conflicts like overwriting existing configurations or merging user settings and script output. Of course you could use any name here, maybe "DjebbZ"...

drubb avatar Aug 19 '12 07:08 drubb