Tip: Currently only a tool for writing ingame commands and routines for Mother OS.
Language mode, IntelliSense, sidebar tools, and formatting for MotherScript files.
Supported file types (MotherScript):
Minimum VS Code: 1.92

Features
- Syntax highlighting (headers, | pipeline lines, numbers, strings, flags, ids like #panel:1)
- Comment toggle with ;
- Folding on command blocks
- Formatter:
- enforce a single space after the leading |
- add required trailing ; on pipeline lines
- configurable spacing around = in headers
- normalized flag/option spacing
Load Blueprints for Direct Access to Grid Blocks
- Open the Mother view (Activity Bar icon).
- Click
Open Blueprint
and select your .sbc or .xml.
- View Blueprint Info, Terminal Blocks, and Block Groups.
- While typing a command’s first argument, you’ll get suggestions for:
- matching block CustomNames (by xsi:type vs command targets)
- group names (from
<BlockGroups>
)
IntelliSense
- Command completion (accept inserts a trailing ; and keeps a snippet session so you can Tab through args)
- Argument completion for the first argument:
- Blocks: suggests quoted CustomName of blocks parsed from a blueprint XML/SBC, filtered by command targets
- Block Groups: suggests quoted group names
- Supports targets: ["*"] in commands.jsonc to target all blocks
- Option completion for each command’s options
Settings
motherscript.format.ensureSemicolons (boolean, default: true)
motherscript.format.normalizePipes (boolean, default: true)
motherscript.format.spaceAroundEquals ("none" | "both" | "after", default: "none")
motherscript.format.flagSpacing (boolean, default: true)
motherscript.lint.missingSemicolonSeverity ("error" | "warning" | "hint" | "info", default: "error")
motherscript.lint.highlightMissingSemicolon (boolean, default: true)
motherscript.fixOnSave.ensureSemicolons (boolean, default: false)
motherscript.lint.missingPipeSeverity ("error" | "warning" | "hint" | "info", default: "error")
motherscript.lint.highlightMissingPipe (boolean, default: true)
motherscript.fixOnSave.ensurePipes (boolean, default: false)
motherscript.catalog.path (string, path to commands.json/jsonc; optional)
4. Color Theme (MotherScript Theme)
This extension ships MotherScript Theme (dark).
- Command Palette → Preferences: Color Theme → MotherScript Theme
Themes apply globally. If you prefer language-specific tweaks only for MotherScript, use editor.tokenColorCustomizations targeting the source.motherscript scope, or use the Theme by language VS Code extension.