Commands (MokoEdit ▸)
- Insert DocBlock — generates a docblock for the function/method below the cursor, inferring one
@paramper argument (TSname: Type, PHPType $name) and a@returnfrom the declared return type. No@paramfor empty argument lists; no@returnfor constructors orvoid. - Insert File Header — adds an SPDX / copyright header in the right comment style for the language (
/** */,<!-- -->, or#). The year comes frommokoedit.copyrightYear(defaults to the current year). - Go to Bracket, Select to Bracket, Select Bracket Contents — navigate and select within matching brackets.
Emmet-style abbreviation expansion is left to VS Code's built-in support. Part of the Moko VS Code suite.