Bug description
When "editor.formatOnSave": true and both Prettier and Prisma vscode extensions are enabled, it causes vscode to hang when a file is saved.
The file is never saved, and the following message is displayed: Saving 'myfilename.ts': Running 'Prettier - Code formatter' Formatter.
If I disable the Prisma extension everything works fine with Prettier.
This also happens on every file in my project, not just the .prisma file.
How to reproduce
- Install Prettier and Prisma vscode extensions
- Set
"editor.formatOnSave": true
- Save any file
Expected behavior
- The Prisma extension should play nice with Prettier,
- or offer the option to disable formatOnSave just for .prisma files.
- or just formatOnSave within .prisma files, ignorning other filetypes.
Environment & setup
- OS: Windows
- Editor: VSCode
- Editor version: 1.52.1
- Extension version: 2.15.0
Bug description
When
"editor.formatOnSave": trueand both Prettier and Prisma vscode extensions are enabled, it causes vscode to hang when a file is saved.The file is never saved, and the following message is displayed:
Saving 'myfilename.ts': Running 'Prettier - Code formatter' Formatter.If I disable the Prisma extension everything works fine with Prettier.
This also happens on every file in my project, not just the .prisma file.
How to reproduce
"editor.formatOnSave": trueExpected behavior
Environment & setup