Skip to content

Prettier Code Formatting Not Working After Upgrading to Prisma 7 #1935

@Safnaj

Description

@Safnaj

Bug description

Identified an issue on code formatting for prisma schema with prettier after upgrading to prisma 7. Not sure whether its a known issue. Previously its worked fine. Due to this the schema looks messy.

How to reproduce

  • Tried Format Document with
  • Tried Format on Save

Expected behavior

  • Prisma VS Code Plugin Should Format the Schema

Prisma information

"@prisma/adapter-pg": "^7.0.0",
"@prisma/client": "^7.0.0",
"prisma": "^7.0.0",

Environment & setup

  • OS: macOS
  • Editor: VS Code
  • Editor version: 1.106.2
  • Extension version: 7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions