intellij-prisma icon indicating copy to clipboard operation
intellij-prisma copied to clipboard

Support for "@@ignore" operator

Open akosasante opened this issue 2 years ago • 1 comments

Prisma adds @@ignore to models/tables that you want to be excluded from Prisma client, as of version 2.17.0.

With this intellij plugin, it looks like this is currently breaking syntax highlighting starting at and continuing on from the line with @@ignore

Screen Shot 2022-06-10 at 9 50 42 AM

akosasante avatar Jun 10 '22 13:06 akosasante

For what it's worth, I've discovered that if I add parentheses then the plugin accepts this operator and I no longer get any errors; and Prisma still seems to correctly ignore the model. So that's a workable workaround for now; but since the autogenerated code just uses @@ignore it'd be good for the plugin to recognize that.

Screen Shot 2022-06-11 at 12 24 47 PM

akosasante avatar Jun 11 '22 16:06 akosasante