language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

Support custom path for prisma.config.ts

Open nissy-dev opened this issue 7 months ago • 0 comments

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.

nissy-dev avatar Apr 27 '25 11:04 nissy-dev