The HTMX Toolkit extension adds htmx support to Visual Studio Code with autocomplete, hover documentation, and snippets.
Features
- Attribute autocomplete for all htmx attributes (
hx-get,hx-post,hx-target, etc.) - Hover documentation with links to the official docs
- Snippets for common htmx patterns
- Support for htmx 2.x and 4.x
Installing
Search for HTMX Toolkit in the VS Code Extensions panel, or install from the Visual Studio Marketplace.
Source
The extension source code is maintained at atoolz/htmx-vscode-toolkit.