Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
  • Cheatsheet
  • Mother OS (Ingame Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Configuration
      • Modules
    • Core Modules

      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Intergrid Message Service
      • Local Storage
      • Merge Block Module
    • Extension Modules

      • Air Vent Module
      • AutoLCD Module
      • Battery Module
      • Terminal Block Module
      • Cockpit Module
      • Connector Module
      • Display Module
      • Door Module
      • Gas Tank Module
      • Hinge Module
      • Landing Gear Module
      • Light Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Screen Module
      • Sensor Module
      • Sorter Module
      • Sound Block Module
      • Thruster Module
      • Timer Block Module
      • Wheel Module
    • Compatibility
    • Troubleshooting
    • Examples
  • Mother GUI
    • Getting Started

      • Installation
      • Configuration
    • Commands
    • Menus
    • Views
    • Examples
  • Mother Autopilot System (MAPS)
    • Getting Started

      • Upgrade Guide
      • Installation
    • Modules

      • Flight Planning Module
      • Map Module
      • Flight Control Module
      • Attitude Module
      • Docking Module
  • Mother Core (Script Framework)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Architecture Overview
      • Managing Script Size & Complexity
    • Building A Module
    • Mother CLI (Console)
    • Core Modules
      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Clock
      • Command Bus
      • Configuration
      • Event Bus
      • Intergrid Message Service
      • Local Storage
      • Log
      • Terminal
    • Utilities

      • Color Helper
      • Number Helper
      • Security
      • Serializer
    • Testing
    • Tutorials
  • Mother Dev Tools
  • Motherland
  • Powered By Mother
  • Brand Guidelines

Mother Dev Tools

Install Mother Dev Tools from the Visual Studio Marketplace.

Mother Dev Tools is a Visual Studio Code extension for writing Mother OS ingame commands and routines in MotherScript files. It provides language support while editing scripts in a an approachable code editor.

Mother Dev Tools

  • Requirements
  • Language Support
    • IntelliSense
  • Opening a Blueprint
  • Formatting
  • Diagnostics
  • Command Catalog
  • MotherScript Theme
  • Related Documentation

Requirements

  • Visual Studio Code 1.92 or later.
  • A MotherScript file to edit.

Language Support

The extension adds MotherScript language mode features, including syntax highlighting, comment toggling with ;, and folding for command blocks.

IntelliSense

The extension can provide:

  • Command completions. Accepting a command inserts a trailing semicolon and opens a snippet session for stepping through arguments with Tab.
  • Option completions for a command's options.
  • First-argument completions for block names and block groups loaded from a blueprint.

Block suggestions are filtered according to the command's target types. The extension supports a ["*"] target in commands.jsonc for commands that target any block.

Opening a Blueprint

Blueprints provide block and group names for first-argument suggestions:

  1. Open the Mother view from the Activity Bar.
  2. Select Open Blueprint and choose an .sbc or .xml blueprint file.
  3. Browse blueprint information, terminal blocks, and block groups in the view.
  4. Type a command's first argument to see matching suggestions.

Command autocompletionCommand autocompletion

Blocks and Groups intelligenceBlocks and groups

Formatting

The formatter can normalize pipeline spacing, add required trailing semicolons to pipeline lines, configure spacing around = in headers, and normalize flag/option spacing.

Formatting options:

SettingTypeDefaultPurpose
motherscript.format.ensureSemicolonsbooleantrueAdd required trailing semicolons to pipeline lines.
motherscript.format.normalizePipesbooleantrueEnforce a single space after a leading `
motherscript.format.spaceAroundEquals"none", "both", or "after""none"Configure spacing around = in headers.
motherscript.format.flagSpacingbooleantrueNormalize spacing between flags and options.

The extension can also add semicolons or pipeline markers on save, if enabled:

SettingTypeDefault
motherscript.fixOnSave.ensureSemicolonsbooleanfalse
motherscript.fixOnSave.ensurePipesbooleanfalse

Diagnostics

The extension can highlight missing semicolons and missing pipeline markers. Each diagnostic severity can be set to error, warning, hint, or info.

SettingTypeDefault
motherscript.lint.missingSemicolonSeveritystring"error"
motherscript.lint.highlightMissingSemicolonbooleantrue
motherscript.lint.missingPipeSeveritystring"error"
motherscript.lint.highlightMissingPipebooleantrue

Command Catalog

The optional motherscript.catalog.path setting points to a commands.json or commands.jsonc file. This catalog can describe commands and their targets for language completions, including block-target filtering.

MotherScript Theme

The extension includes a dark MotherScript Theme. In Visual Studio Code, open Command Palette → Preferences: Color Theme and select MotherScript Theme. Themes apply globally; use editor.tokenColorCustomizations if you want to customize MotherScript scopes without changing other languages.

Related Documentation

  • Command Line Interface
  • Troubleshooting
Last Updated: 10/21/26, 4:31 AM
Contributors: lukejamesmorrison
Prev
Mother Core (Script Framework)
Next
Motherland