| .. | ||
| asset | ||
| bin | ||
| build | ||
| src | ||
| tests | ||
| .gitignore | ||
| .vscodeignore | ||
| jest.config.ts | ||
| language-configuration.json | ||
| LICENSE | ||
| package.json | ||
| README-global.md | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.vscode.json | ||
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
*.zmodelfiles- 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!