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

feat(vscode): Add syntax highlighting to `Prisma.sql`

Open ajmnz opened this issue 1 year ago • 3 comments

Fixes #1533, adds syntax highlighting to the Prisma.sql helper.

As I understand, only $queryRaw and $executeRaw have syntax highlighting because they are considered "safe". Docs do not make references to Prisma.sql being unsafe.

ajmnz avatar Jul 26 '24 10:07 ajmnz

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 26 '24 10:07 CLAassistant

Hi, this is such a useful feature. In our projects we use queryRaw, but would prefer to create an Prisma.sql , to pass this query object around. But without highlighting this is just meh....

@ajmnz @janpio any idea or possibility, to merge this? :)

andreasvh-conceto avatar Sep 10 '24 21:09 andreasvh-conceto

This will fix https://github.com/prisma/language-tools/issues/1533

andreasvh-conceto avatar Sep 13 '24 16:09 andreasvh-conceto