Caddyfile
Language support for Caddyfiles in Visual Studio Code.
Features
- Syntax highlighting and formatting
- Completions, hover documentation, diagnostics, and navigation
- Current standard Caddy directives, including experimental route-scoped
timeouts
- Snippets, matchers, named routes, placeholders, and imports
- Workspace indexing that respects
files.exclude and .gitignore without hiding explicit imports
- Optional checks with an installed Caddy command
- Desktop, remote, and browser extension hosts
The extension does not require Caddy for normal editing and never downloads or starts Caddy.
Install
Search for Caddyfile in the Extensions view or run:
code --install-extension willibrandon.caddyfile
Visual Studio Marketplace
and Open VSX publish the same extension.
Documentation · Changelog ·
Issues
Development
Requires Node.js 24 and npm 12.
npm ci
npm run verify
npm run package
See CONTRIBUTING.md and the maintainer documentation.
License
MIT. This is an independent extension and is not an official Caddy project.
| |