Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,4 @@ See [Prisma Migrate](https://www.prisma.io/docs/orm/prisma-migrate) documentatio
1. Prisma client extensions are not supported.
1. Prisma custom generators are not supported (may add support in the future).
1. [Filtering on JSON fields](https://www.prisma.io/docs/orm/prisma-client/special-fields-and-types/working-with-json-fields#filter-on-a-json-field-advanced) is not supported yet.
1. Raw SQL query APIs (`$queryRaw`, `$executeRaw`) are not supported.
53 changes: 53 additions & 0 deletions packages/ide/vscode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# ZenStack VS Code Extension

[ZenStack](https://zenstack.dev) is a toolkit that simplifies the development of a web app's backend. It enhances [Prisma ORM](https://prisma.io) 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:

```json
"files.associations": {
"*.zmodel": "zmodel"
},
```

- Auto formatting

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

```json
"editor.formatOnSave": true
```

- To enable formatting in combination with prettier, add the following to your settings.json file:
```json
"[zmodel]": {
"editor.defaultFormatter": "zenstack.zenstack"
},
```

- Inline error reporting
- Go-to definition
- Hover documentation
- Code section folding

## Links

- [Home](https://zenstack.dev)
- [Documentation](https://zenstack.dev/docs)
- [Community chat](https://discord.gg/Ykhr738dUe)
- [Twitter](https://twitter.com/zenstackhq)
- [Blog](https://dev.to/zenstack)

## Community

Join our [discord server](https://discord.gg/Ykhr738dUe) for chat and updates!

## License

[MIT](https://github.com/zenstackhq/zenstack/blob/main/LICENSE)
4 changes: 2 additions & 2 deletions packages/ide/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "zenstack",
"publisher": "zenstack",
"version": "3.0.0",
"version": "3.0.2",
"displayName": "ZenStack Language Tools",
"description": "VSCode extension for ZenStack ZModel language",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/zenstackhq/zenstack-v3"
"url": "https://github.com/zenstackhq/zenstack"
},
"scripts": {
"build": "tsc --noEmit && tsup",
Expand Down