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

How to use

Start typing a prefix in a file of the matching language and pick the snippet; Tab through the placeholders.

Snippets

  • PHP — mokohdr (SPDX header), jinstaller (install-script thin subclass, collision-safe), jddl (1295-safe conditional DDL), jservice, jcontroller, jmodel-list, jmodel-admin, jview, jtable, jselfheal.
  • XML — jmanifest-com/-mod/-plg/-pkg (Joomla manifests, Type - Name, pkg_pkg_-safe), jupdateservers, jconfig-fields.
  • JSON — jasset (WAM joomla.asset.json).
  • INI — jlangstr, jlangfield.   Markdown — mokoreadme, mokowiki.   YAML — mokojob, mokostep.
  • TS/JS — mokocmd (defensive VS Code command).

Each snippet encodes a Moko/Joomla standard so it's right by default. Part of the Moko VS Code suite.