JSPM

@prisma/language-server

31.3.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6978
  • Score
    100M100P100Q186896F
  • License Apache-2.0

Prisma Language Server

Package Exports

  • @prisma/language-server
  • @prisma/language-server/dist/bin
  • @prisma/language-server/dist/bin.js
  • @prisma/language-server/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@prisma/language-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Prisma Language Server

The Prisma Language Server implements the Language Server Protocol (LSP) to provide IDE features for Prisma schema files (.prisma).

Installation

npm install -g @prisma/language-server

Usage

# Run via stdio (for editor integration)
prisma-language-server --stdio

Features

  • Diagnostics — Real-time error and warning highlighting
  • Completions — Context-aware suggestions for keywords, types, attributes
  • Hover — Documentation on hover for models, fields, attributes
  • Go to Definition — Jump to model/enum definitions
  • Document Formatting — Format .prisma files
  • Code Actions — Quick fixes for common issues
  • Rename — Rename models, enums, fields with automatic @map handling
  • Document Symbols — Outline view of models, enums, generators
  • References — Find all usages of a model or enum

Documentation

For development and architecture details, see:

Contributing

See CONTRIBUTING.md for development workflow details.

Security

Report security issues to security@prisma.io