zenstack/packages/schema
2024-11-03 19:24:57 -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 feat: JetBrains plugin for ZModel (#904) 2023-12-25 08:55:21 +08:00
src feat(zmodel): "type" construct and strongly-typed Json fields (#1813) 2024-11-03 19:24:57 -08:00
tests feat(zmodel): "type" construct and strongly-typed Json fields (#1813) 2024-11-03 19:24:57 -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 (#1814) 2024-10-29 12:33:23 -07:00
README-global.md merge canary to dev (#181) 2023-01-27 22:31:44 +08:00
README.md chore: update vscode extension description (#1622) 2024-07-29 13:43:12 -07:00
tsconfig.json chore: unify tsconfig files (#722) 2023-10-01 22:32:32 -07:00

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

Community

Join our discord server for chat and updates!

License

MIT