Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>prisma-snippetsNew to Visual Studio Code? Get it now.
prisma-snippets

prisma-snippets

cvs0

|
1,065 installs
| (0) | Free
A VSCode extension to add snippets to make development using prisma easier.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prisma Snippets

This VSCode extension provides a collection of handy snippets that make working with Prisma more efficient and enjoyable.

Features

  • Ease of use: Just type the prefix and the snippet unfolds.
  • Variety: Snippets for models, enums, relations, fields, and queries.
  • Time-saving: Speed up your development process.

Shortcuts

  • mdib: Adds a shortcut for a MongoDB ID line
  • pmodel: Defines a new Prisma model
  • penum: Defines a new Prisma enum
  • prelation: Defines a new Prisma relation
  • pfield: Defines a new Prisma field
  • punique: Defines a new Prisma field with a unique constraint
  • poptional: Defines a new optional Prisma field
  • pdatetime: Defines a new Prisma DateTime field
  • pfindunique: Defines a new Prisma find unique query
  • pcount: Defines a new Prisma count query
  • pfirst: Defines a new Prisma find first query
  • pclient: Initializes a new Prisma Client instance

Contributing

If you have suggestions for improvements, please open an issue. Contributions are welcome!

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft