Prisma Highlighter
By Sanjeet Kumar
Version 1.3.0
Prisma Highlighter Syntax highlighting for Prisma schemas in Acode's CodeMirror 6 editor: 20 themes, context-aware autocomplete, folding and indentation. Version License Free Features - Highlighting for every .prisma file. Block names, field names, scalar types, references to models and enums, enum values, config keys, attributes, @db. native types, argument labels, referential actions and env("...") names each get their own style. A field named type or view is a field, not a keyword - /// documentation comments, // TODO / FIXME / NOTE / HACK badges - 20 themes - Context-aware autocomplete: block snippets, types, @ attributes, @@ block attributes, native types after @db. , referential actions, field names inside fields: [...] and @@index([...]) , enum values and functions inside @default(...) , config keys and providers - Folding for every block, and automatic indentation Usage 1. Install the plugin 2. Open a .prisma file. Highlighting is applied automatically Settings - Prisma Theme - Enable Font Ligatures Need diagnostics with messages, block badges, snippets for common fields and relations, and workflow commands? See Prisma Highlighter Pro . Example License MIT