QiloBack DSL — VS Code extension
Syntax highlighting, schema validation, snippets and qiloback validate integration for qiloback.yml manifests.
What you get
- Schema validation against
qiloback.dev/schema/v1.json — every field, every type, every option auto-completes and underlines invalid values inline.
- Syntax highlighting for QiloBack-specific keywords (
tenant_scoped, relations, permissions, hooks, cache) and the field-type / relation-type vocabularies.
- Snippets for the canonical patterns: full manifest skeleton, entity, field types, relations, tenant config, feature flag.
qiloback validate on save — automatic local validation runs against the saved manifest and surfaces parse / validator errors in the Problems panel. Toggle with qiloback.validate.onSave.
- Two commands in the palette:
QiloBack: Validate Manifest and QiloBack: Open Documentation.
Install
From the Marketplace (post-publish):
ext install delixon-labs.qiloback-dsl
From a local .vsix (during dev):
cd tools/vscode-qiloback
npm install
npm run package
code --install-extension qiloback-dsl-*.vsix
Configuration
| Setting |
Default |
Purpose |
qiloback.cli.path |
qiloback |
Override the CLI binary path. Useful when running against a non-PATH install (a uv venv, a local build). |
qiloback.validate.onSave |
true |
Run qiloback validate automatically on every save of a recognised manifest. |
Source layout
tools/vscode-qiloback/
├── package.json VS Code extension manifest
├── tsconfig.json strict TypeScript config
├── language-configuration.json editor behaviour (comments, brackets)
├── syntaxes/qiloback.tmLanguage.json TextMate grammar
├── snippets/qiloback.json snippet definitions
├── src/extension.ts activation + command + diagnostics
└── README.md this file
Publish flow
The extension is published to the Marketplace via vsce:
cd tools/vscode-qiloback
npm install
npm run compile
vsce publish minor # or `vsce publish 0.2.0`
A future CI workflow (.github/workflows/vscode-extension-publish.yml) will automate the same flow on every extension/v* tag.