@duckcodeailabs/dql-lsp
v0.1.5
Published
DQL Language Server Protocol implementation
Readme
@duckcodeailabs/dql-lsp
Language-server primitives for DQL tooling.
This package powers completions, hover text, diagnostics, and editor integrations such as the DQL VS Code extension.
Install
pnpm add @duckcodeailabs/dql-lspExample
import { DQLLanguageService } from '@duckcodeailabs/dql-lsp';
const service = new DQLLanguageService();
const diagnostics = service.validate(`
block revenue_by_segment {
type = "custom"
title = "Revenue by Segment"
}
`, 'blocks/revenue_by_segment.dql');
console.log(diagnostics);Common Uses
- build editor integrations for DQL
- provide completions and hover docs in custom IDE tooling
- surface diagnostics before compile time
Learn More
- Root docs:
../../README.md
