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-serverUsage
# Run via stdio (for editor integration)
prisma-language-server --stdioFeatures
- 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
.prismafiles - Code Actions — Quick fixes for common issues
- Rename — Rename models, enums, fields with automatic
@maphandling - Document Symbols — Outline view of models, enums, generators
- References — Find all usages of a model or enum
Documentation
For development and architecture details, see:
- Architecture — System design and file structure
- Language Server — Key abstractions and internals
- Development — Setup and debugging
- Testing — Test patterns and helpers
Contributing
See CONTRIBUTING.md for development workflow details.
Security
Report security issues to security@prisma.io