zenstack/packages/schema
2025-12-29 16:32:52 +08:00
..
asset chore: add white background to logo, optimize README (#92) 2022-11-13 17:47:25 +08:00
bin chore: add more os related fields to telemetry (#850) 2023-11-24 11:10:07 -08:00
build chore: use dotenv in bundler script (#2257) 2025-09-28 20:25:16 -07:00
src fix(cli): install Prisma 6 during init since 7 is not tested (#2316) 2025-12-04 09:12:12 +08:00
tests fix: make datasource url optional (#2305) 2025-11-19 14:21:03 -08:00
.gitignore merge canary to dev (#181) 2023-01-27 22:31:44 +08:00
.vscodeignore feat: JetBrains plugin for ZModel (#904) 2023-12-25 08:55:21 +08:00
jest.config.ts chore: unify jest.config.ts and .eslintrc.json (#881) 2023-12-03 07:17:49 -08:00
language-configuration.json fix: enable auto completion inside attribute (#949) 2024-01-15 20:39:42 +08:00
LICENSE merge canary to dev (#181) 2023-01-27 22:31:44 +08:00
package.json chore: bump version (#2322) 2025-12-29 16:32:52 +08:00
README-global.md merge canary to dev (#181) 2023-01-27 22:31:44 +08:00
README.md chore: bump version (#2322) 2025-12-29 16:32:52 +08:00
tsconfig.json feat: support save markdown preview file (#2254) 2025-09-28 09:05:54 -07:00
tsconfig.vscode.json fix: sign-in error caused by typo in telementry. (#2262) 2025-10-03 12:06:03 +08:00

ZenStack VS Code Extension

This extension only supports ZenStack v2. For the latest ZenStack v3, please use the ZenStack V3 Language Tools extension instead.

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

Community

Join our discord server for chat and updates!

License

MIT