language-tools
language-tools copied to clipboard
🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
In several spots we decided to not render information into the datamodel if it matches some internal opinionation. This is done to keep the datamodel simple and not pollute it...
Example: When you have `@relation(onUpdate: C|` it should suggest auto completion `Cascade`. It was working before merging https://github.com/prisma/language-tools/pull/847 We do not have _any_ tests for that yet. Note: Probably only...
### Pre-requisite: #### Test if dots are indeed allowed in the namespace name across providers - [ ] coackroachdb - [ ] mongodb - [ ] mysql - [ ]...
Sample schema ``` ... datasource db { provider = "mysql" url = env("DATABASE_URL") relationMode = "prisma" } model User { id String @id @default(cuid()) firstName String? middleName String gender String?...
extracted from #1324
Currently we provide extra context during auto-complete for the following, it would be a boon to DX to further improve context for those that lack it - [x] provider ::...
## Bug description -- Error: -- Now hidden by the error for previewFeatures ## Expected behavior Both errors should show ## Prisma information ```prisma generator client { provider = "prisma-client-js"...
[relevant internal slack convo](https://prisma-company.slack.com/archives/C02FNFLDUS3/p1670589758588399) --- It causes it to look like the SLACK_WEBHOOK env var has gone missing and: 
Context: https://code.visualstudio.com/api/working-with-extensions/bundling-extension#run-webpack VSCode extensions grow quickly in size. They are authored in multiple source files and depend on modules from npm. Decomposition and reuse are development best practices but they...
## Bug description Bug report extracted from #1219 ```ts // This works prisma.$queryRaw` SELECT id from machine ` // This does not work prisma.$queryRaw` SELECT id from machine ` ```