dbml-lsp
v0.1.0
Published
DBML Language Server for syntax validation and diagnostics
Maintainers
Readme
DBML Language Server
Language Server Protocol implementation for DBML (Database Markup Language).
Installation
npm install -g dbml-lspUsage
As LSP Server
dbml-lsp --stdioIntegration with VS Code
Add to your VS Code settings (settings.json):
{
"dbml.languageServerCommand": "dbml-lsp",
"dbml.languageServerArgs": ["--stdio"]
}Or use with existing DBML extensions that support custom LSP servers.
Integration with IntelliJ IDEA
- Install LSP4IJ plugin
- Go to Settings -> Languages & Frameworks -> Language Server
- Add new server:
- Command:
dbml-lsp - Args:
--stdio
- Command:
Features
- Real-time syntax validation
- Error diagnostics with line/column information
- Support for DBML v2
- Fast incremental parsing
Development
# Install dependencies
npm install
# Run tests
npm test
# Start server manually
npm start