Complete HTMX development toolkit: IntelliSense, hover docs, validation, diagnostics, and snippets for 20+ template languages.
Smart completions for all 27+
hx-*attributes with documentation and correct insert formatting.
Get value suggestions based on the attribute you're editing. Supports
hx-swapstrategies,hx-triggerevents and modifiers,hx-targetselectors,hx-extextensions, and more.
Hover over any
hx-*attribute to see a rich tooltip with description, valid values, modifiers, examples, and a link to official HTMX docs.
Catch typos and invalid values before they reach the browser. Includes Levenshtein-based "did you mean?" suggestions and deprecated attribute warnings.
Works everywhere HTMX is used:
| Language | Extensions |
|---|---|
| HTML | .html |
| PHP / Blade | .php, .blade.php |
| Django / Jinja2 | .html (Django), .jinja, .jinja2, .j2 |
| Go Templates / Templ | .gohtml, .tmpl, .templ |
| JSX / TSX | .jsx, .tsx |
| Astro | .astro |
| Svelte | .svelte |
| Vue | .vue |
| ERB (Ruby) | .erb |
| Twig | .twig |
| Handlebars | .hbs |
| EJS | .ejs |
| Nunjucks | .njk |
| Razor | .cshtml |
| Pug | .pug |
23 ready-to-use patterns:
| Prefix | Description |
|---|---|
hx-get |
GET request with target |
hx-post-form |
Form with POST |
hx-infinite-scroll |
Infinite scroll pattern |
hx-search |
Live search |
hx-sse |
Server-Sent Events |
hx-ws |
WebSocket connection |
hx-lazy |
Lazy loading |
hx-delete-confirm |
Delete with confirmation |
hx-poll |
Polling pattern |
hx-click-to-edit |
Click-to-edit |
hx-boost-nav |
Boosted navigation |
hx-modal |
Modal dialog |
hx-file-upload |
File upload with progress |
hx-dependent-dropdown |
Cascading dropdown |
hx-oob-swap |
Out-of-band swap |
hx-table-row |
Table row with inline editing |
hx-progress |
Progress bar with polling |
hx-tabs |
Tab navigation |
hx-toast |
Toast notification via OOB |
hx-form-validation |
Form with inline validation |
hx-template |
Full HTML page boilerplate |
hx-active-search |
Active search with debounce |
hx-bulk-actions |
Bulk actions with checkboxes |
VS Code Marketplace:
- Open VS Code
- Press
Ctrl+Shift+X(orCmd+Shift+Xon macOS) - Search for "HTMX Toolkit"
- Click Install
Command Line:
code --install-extension atoolz.htmx-vscode-toolkit| Setting | Default | Description |
|---|---|---|
htmxIntelliSense.enableCompletion |
true |
Enable attribute completions |
htmxIntelliSense.enableHover |
true |
Enable hover documentation |
htmxIntelliSense.enableValidation |
true |
Enable diagnostics/validation |
HTMX has 47K+ GitHub stars and is one of the fastest-growing frontend libraries. Yet the VS Code tooling ecosystem is fragmented: 6+ extensions, none comprehensive, none supporting template languages properly.
HTMX Toolkit fills this gap with:
- The most complete attribute and value completion available
- Real validation with typo detection (not just syntax highlighting)
- First-class support for server-side template languages (Go, Python, PHP, Ruby)
- Clean, maintainable data layer that tracks HTMX releases
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
# Clone and install
git clone https://github.com/atoolz/htmx-vscode-toolkit.git
cd htmx-vscode-toolkit
npm install
# Build and test
npm run build
npm run test:e2e
# Debug in VS Code
# Press F5 to launch Extension Development HostBuilt for the HTMX community




