• Applicable Software: General
  • Min Version Number: 00.01.00
  • Max Version Number: Not Applicable

SPDX header — mokohdr

  1. At the top of a PHP file, type mokohdr and pick the snippet.
  2. It inserts the house SPDX/copyright header in the correct comment style. Tab through the placeholders for file-specific details.

WAM asset — jasset

  1. In a joomla.asset.json, type jasset.
  2. It expands to a Web Asset Manager entry with the correct uri form (<extension>/<file> — no css/ or js/ folder, which the resolver adds), so your stylesheet/script actually loads.

Part of the Moko VS Code suite.