Skip to content

Latest commit

 

History

History

schema

ZenStack VS Code Extension

ZenStack is a toolkit that simplifies the development of a web app's backend. It enhances Prisma ORM with flexible Authorization and auto-generated, type-safe APIs/hooks, simplifying full-stack development.

This VS Code extension provides code editing helpers for authoring ZenStack's schema files (.zmodel files).

Features

  • Syntax highlighting of *.zmodel files

    • In case the schema file is not recognized automatically, add the following to your settings.json file:
    "files.associations": {
        "*.zmodel": "zmodel"
    },
  • Auto formatting

    • To automatically format on save, add the following to your settings.json file:

      "editor.formatOnSave": true
    • To enable formatting in combination with prettier, add the following to your settings.json file:

      "[zmodel]": {
      "editor.defaultFormatter": "zenstack.zenstack"
      },
  • Inline error reporting

  • Go-to definition

  • Hover documentation

  • Code section folding

Links

Community

Join our discord server for chat and updates!

License

MIT