Skip to content

Support custom path for prisma.config.ts #1826

@nissy-dev

Description

@nissy-dev

Problem

The VSCode extension does not support a custom path for prisma.config.ts

Suggested solution

Add support for specifying a custom path for prisma.config.ts in the VSCode extension, similar to how prisma.schemaPath is handled.

"prisma.configPath": {
  "type": "string",
  "examples": [
    "/path/to/your/prisma.config.ts"
  ],
  "description": "If you have a prisma config file in a custom path, you will need to provide the path, e.g., `/path/to/your/prisma.config.ts`."
}

Alternatives

It is still possible to continue using prisma.schemaPath as it currently exists.

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