PHPStorm Magento 2 File Templates
Useful file templates for working with Magento 2.
To install, place the files directly in the appropriate folder. Note that [Version] corresponds to the version of PhpStorm you have installed.
Place them in ~/Library/Preferences/PhpStorm[VERSION]/fileTemplates/
Place them in [SYSTEM DRIVE]\Users[USER ACCOUNT NAME].PhpStorm[VERSION]\config\fileTemplates/
Place them in ~/.PhpStorm[VERSION]/config/fileTemplates/
Create the directories if they are not present.
Note that you must put the templates directly in the above folders, do not put them in a subfolder.