P
Prisma6mo ago
nitLix

Intellisense switches to generated schema instead of the one I'm editing

i'm using the prisma intellisense in cursor (basically fork of vscode), and also generating the prisma client into a custom directory (as required)
generator client {
provider = "prisma-client-js"
output = "./generated/client"
previewFeatures = ["driverAdapters"]

binaryTargets = ["native", "rhel-openssl-3.0.x"]
}
generator client {
provider = "prisma-client-js"
output = "./generated/client"
previewFeatures = ["driverAdapters"]

binaryTargets = ["native", "rhel-openssl-3.0.x"]
}
the problem with this is that the intellisense only seems to be scanning the schema inside the generated client? how do i make it so that the intellisense ignores the schema inside the generated prisma client folder, and only looks at the schema which im editing?
2 Replies
Prisma AI Help
Prisma AI Help6mo ago
You selected to wait for the human sages. They'll share their wisdom soon. Grab some tea while you wait, or check out #ask-ai if you'd like a quick chat with the bot anyway!
Nurul
Nurul6mo ago
Hey! Does this thing happen only in Cursor and not in VS Code? I think this would have something to do with your IDE settings, perhaps?

Did you find this page helpful?