Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Morph DSLNew to Visual Studio Code? Get it now.
Morph DSL

Morph DSL

MorphDSL

| (0) | Free
VSCode language support for Morph DSL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Morph DSL — VS Code support

Language support for .morph schema files: algebraic code generation from domain schemas.

What it does

  • Syntax highlighting for .morph files
  • Bracket matching, comment toggling, auto-closing pairs via language configuration
  • Morph: Template Schema command to scaffold a new schema from the command palette

Try it

  1. Install this extension.
  2. Open or create a file with the .morph extension.
  3. Start writing — keywords, identifiers, and string literals will be highlighted.
domain Pastebin

extensions {
  storage [memory, sqlite, redis] default memory
}

context pastes "Simple pastebin for sharing text snippets." {
  @root
  entity Paste "A text snippet shared via URL." {
    content: string "The paste content"
    expiresAt: timestamp? "Optional expiry"
  }

  command create(content: string, expiresAt: timestamp?) -> Paste
  query getById(id: PasteId) -> Paste?
}

Generate apps from your schema

The extension provides editor support for authoring schemas. To generate a full backend, CLI, MCP server, and web UI from a .morph file, use the @morphdsl/cli:

npx @morphdsl/cli new-project my-app --schema-file my-app.morph

See the Getting Started guide for a complete walkthrough.

Links

  • Docs & playground: https://willclark.tech/morph/
  • GitHub: https://github.com/willclarktech/morph
  • Issues: https://github.com/willclarktech/morph/issues

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft