PhpStorm Live Templates for XenForo 2

PhpStorm Live Templates for XenForo 2 20210519

No permission to download
In this update I have fairly dramatically changed the way you have to call the code snippets.

The previous releases suffered from a problem whereby the xf component of the shortcut trigger was treated as a separate word, so xf-entity would not search automatically for xf-entity but rather would search for shortcuts beginning with entity as soon as the cursor passed the dash character.

Having understood that now, the shortcuts are revised to remove punctuation in most instances, such that the PHP shortcut xf-entity is now triggered with xfEntity instead and the Javascript shortcut XF:EventHandler is now triggered with xfEventHandler.

HTML shortcuts, with <xf:tagname format are unaffected.

This update also brings with it shortcuts for (amongst others)

  • Finder calls xfFinder

    05202124_01.webp
  • Repository calls xfRepository

    05202124_02.webp
  • Entity creation xfEmCreate

    05202124_03.webp
  • AssertRecordExists xfAssertRecordExists
05202124_04.webp
Top