PhpStorm Live Templates for XenForo 2

xF2 Add-on PhpStorm Live Templates for XenForo 2 20210519

No permission to download
Compatible XF Versions
2.0, 2.1, 2.2
This is an export of the Live templates I use for XenForo development in PhpStorm. You can see them in use in the Building with XenForo 2 video series.
phpstorm-live-templates-for-xenforo.gif

The list of templates is far from complete, and will be updated periodically as I get around to it but in the interest in sharing useful work, here they are.

To install them into PhpStorm, go to File > Manage IDE Settings > Import Settings..., and point at the zip file attached here.
phpstorm-live-templates-for-xenforo-1.jpg

If you have IDE Settings Sync enabled, you may need to move the XML files from the attached zip manually into place and restart PhpStorm for the settings to take effect.

Under macOS assuming PhpStorm 2021.1, the correct location is ~/Library/Application Support/JetBrains/PhpStorm2021.1/jba_config/templates Other operating systems and PhpStorm versions will require the path to be adapted accordingly.
Author
BattleKing
Downloads
22
Views
1,085
Last update
Rating
0.00 star(s) 0 ratings

More resources from BattleKing

Latest updates

  1. More features, improved usability

    In this update I have fairly dramatically changed the way you have to call the code snippets...
  2. Minor updates - some basic JS stuff

    Templates for the standard XF javascript file wrapper, element handler and event handler...
Top