language-tools
language-tools copied to clipboard
🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
When I save this schema: ```prisma model User { id Int @id } model Post { id Int @id authorId Int author User @relation(fields: [authorId], references: [id]) } ``` it...
We should have quick fixes for - `executeRaw(sql, params)` and `queryRaw(sql, params)` - or - executeRaw`sql` - and - queryRaw`sql` - for `queryRaw(sql)` and `executeRaw(sql)`. This is only possible if...
Floating comments are removed when you introspect: ``` model User { // I float! } ``` Would be good to have a warning in VS Code so that users aren't...
See https://github.com/prisma/prisma/issues/10173 Solution in VSCode: Nice color squiggly lines (yellow maybe?) as "info" for a line (on `@relation` in the model) and then a quick fix to add the `@index`...
https://marketplace.visualstudio.com/items?itemName=Prisma.prisma and https://marketplace.visualstudio.com/items?itemName=Prisma.prisma-insider have the same icon right now. It would be nice if the unstable one (currently "Prisma Dev") would have a different icon.
## Problem When prototyping, and I update a column name (e.g. "foo" -> "bar"), I want VSCode to pop up and say "Hey! Do you want me to auto-update occurrences...
It could be nice to add some commands like - Open Studio - Generate? - ... So a user could call some CLI commands from VS Code command palette https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette...
Extracted from https://github.com/prisma/language-tools/issues/16
Extracted from https://github.com/prisma/language-tools/issues/16
Currently, there is a limitation in Prisma client *raw functions that they can only run one query at a time https://github.com/prisma/prisma/issues/2868. Currently, this fails at runtime. Prisma VSCode extension can...