-
QuestionIs there any integrated extention in vscode or any tool in vscode could help do the static code analysis on prisma How to reproduce (optional)No response Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jiz17043 👋 Thank you for raising this question. There is a Prisma extension for Visual Studio Code that can assist with static code analysis. The Prisma VS Code extension uses the prisma-fmt engine, which is written in Rust, to parse and format the Prisma schema, perform static analysis (linting), and provide feedback such as errors and suggestions. The extension also provides support for users when writing or editing their Prisma files, offering features such as autocompletion, syntax highlighting, linting, and documentation. It also helps with navigating and understanding the schema by providing tooltips, comments, and the ability to go to definitions. You can install the official Prisma VS Code extension from the VS Code marketplace. |
Beta Was this translation helpful? Give feedback.
Hi @jiz17043 👋
Thank you for raising this question.
There is a Prisma extension for Visual Studio Code that can assist with static code analysis. The Prisma VS Code extension uses the prisma-fmt engine, which is written in Rust, to parse and format the Prisma schema, perform static analysis (linting), and provide feedback such as errors and suggestions.
The extension also provides support for users when writing or editing their Prisma files, offering features such as autocompletion, syntax highlighting, linting, and documentation. It also helps with navigating and understanding the schema by providing tooltips, comments, and the ability to go to definitions.
You can install the official P…