VS Code Extensions
Kilnx Toolkit

Kilnx Toolkit

by atoolz

A complete VS Code development toolkit for Kilnx with syntax highlighting, language server features, diagnostics, completions, documentation, navigation, and code snippets.

Downloads

11

Rating

— (0)

Version

0.1.0

Last updated

Apr 09, 2026

Kilnx

Complete development toolkit for Kilnx, the declarative backend language for the htmx era.

Version Installs License

Features

  • Syntax Highlighting for all 27 keywords, SQL, HTML, htmx attributes, and template interpolation
  • Diagnostics with parse errors, type mismatches, and security warnings
  • Completions for keywords, field types, constraints, and SQL
  • Hover Documentation with examples for every keyword
  • Go-to-Definition for models, layouts, and pages
  • Document Outline showing app structure
  • 20+ Snippets for config, model, page, action, fragment, api, stream, socket, webhook, schedule, test, and more

Requirements

For full LSP features (diagnostics, completions, hover), install the Kilnx CLI:

brew install kilnx-org/tap/kilnx

Syntax highlighting and snippets work without the CLI.

Snippets

Prefix Description
config Application configuration
model Data model with fields
auth Authentication block
page GET route with query and HTML
action POST/PUT/DELETE mutation
fragment Partial HTML for htmx
api JSON API endpoint
stream Server-Sent Events
socket WebSocket endpoint
webhook External webhook receiver
schedule Cron/interval task
test Declarative test
layout Page wrapper template
each Template loop
if Template conditional

Settings

Setting Default Description
kilnx.lsp.enabled true Enable the language server
kilnx.lsp.path "kilnx" Path to the kilnx binary

Installation

VS Code Marketplace:

Search for "Kilnx Toolkit" in the Extensions panel, or:

code --install-extension atoolz.kilnx-vscode-toolkit

Contributing

git clone https://github.com/atoolz/kilnx-vscode-toolkit
cd kilnx-vscode-toolkit
npm install
npm run build
# Press F5 in VS Code to test

License

MIT