Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Caddyfile Syntax by SecunitNew to Visual Studio Code? Get it now.
Caddyfile Syntax by Secunit

Caddyfile Syntax by Secunit

secunit

|
1 install
| (0) | Free
Rich Caddyfile Syntax Highlighting for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Caddyfile Support

Visual Studio Marketplace Version Visual Studio Marketplace Downloads Visual Studio Marketplace Rating

Adds support for Caddyfile syntax highlighting and automatic formatting.

Also recognizes snippet-style Caddy config files such as *.caddy.

This is essentially an updated version of vscode-caddyfile-syntax with additional features.

Configuration

  • caddyfile.executable: Location of the caddy executable to use for code formatting. (Default: "")

Features

  • Syntax Highlighting
  • Automatic Formatting (supports Format on Save)
  • Support for Caddyfile v2
  • Basic Language Server with suggestions and descriptions

Requirements

  • caddy v2.2.0 or later (required for Automatic Formatting)
  • Bun (preferred), or pnpm/yarn as fallback for dependency management

Development

  • Install dependencies with automatic package manager fallback: npm run install:deps
  • Preferred runtime is Bun; fallback order is pnpm, then yarn

Known Issues

  • None

Changelog

See CHANGELOG.md

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft