@prisma/language-server
v31.11.0
Published
Prisma Language Server
Maintainers
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 [email protected]
