JetBrains plugin

Caddyfile for JetBrains IDEs

Catch what caddy adapt would reject while editing in a JetBrains IDE, with the same language server and rules as Caddyfile (GMM) for VS Code.

Open source and maintained by Juan Torchia.

Current release
v0.1.0
Marketplace downloads
0
Observed Dec 3, 2026
Compatibility
JetBrains 2026.1.4+ / platform build 261.26222+
License
MIT

See it in the editor

A Caddyfile in IntelliJ IDEA with validation, TLS and security problems listed in the Problems tool window
Validation, TLS, and security findings while editing a Caddyfile.
Settings | Languages & Frameworks | Caddyfile with project and application settings
Project settings are shared through .idea/gmm-caddy.xml.

A focused tool for a specific workflow

Free Caddyfile validation, completion, caddyserver.com hover documentation, navigation, TLS, security, and certificate checks, and caddy fmt-consistent formatting in IntelliJ IDEA, PyCharm, and other JetBrains IDEs.

  • Validation for Caddy 2.11.9 directives, global options, nested subdirectives, matchers, snippets, named routes, imports, site addresses, and placeholders, with third-party module names configurable per project
  • TLS lint against the Mozilla intermediate or modern profiles and security lint for an exposed admin API, plaintext basic_auth, public tls internal, unrestricted on-demand TLS, and Host-controlled upstreams
  • Certificate hover and diagnostics for expiry, key mismatch, SAN mismatch, and chain problems, with Open in CertView when CertView X.509 is installed
  • Context-aware completion and caddyserver.com hover documentation for directives, options, subdirectives, matchers, and placeholders
  • Go to imported files, snippets, named routes, matchers, and certificate files, plus structure view and folding
  • Reformat Code with the bundled formatter, consistent with caddy fmt, and optional caddy validate, caddy adapt, caddy fmt, and basic_auth password hashing actions
  • TextMate highlighting and 12 live templates for sites, reverse proxies, static sites, SPAs, PHP-FPM, matchers, snippets, redirects, basic auth, and security headers

From install to a safer decision

  1. Install Caddyfile (GMM) from JetBrains Marketplace in an IDE based on 2026.1.4 or later, and make Node.js 24 or newer available on PATH.
  2. Open a Caddyfile, Caddyfile.*, Caddyfile-*, *.caddyfile, *.Caddyfile, or *.caddy file.
  3. Fix the inline diagnostics, follow imports, snippets, and matchers, and run Tools | Caddyfile | Validate when Caddy is installed.
  4. Keep running caddy validate against the target build and its plugins before every reload.

How the pieces fit together

This is a textual architecture map grounded in the public implementation. Follow the source link to inspect the exact modules, tests, and release history.

  1. The plugin registers Caddyfiles with the IntelliJ Platform LSP support and a TextMate grammar for syntax highlighting.

  2. It bundles the Caddyfile (GMM) 0.1.0 language server built from gmm-caddy-vscode, pinned by source commit and SHA-256.

  3. Node.js runs the server; per-project settings such as the Caddy catalog version, module names, and the Mozilla TLS profile are stored in .idea/gmm-caddy.xml so the team shares them.

Inspect the implementation on GitHub

Supported scope

  • Caddyfile, Caddyfile.*, Caddyfile-*, *.caddyfile, *.Caddyfile, and *.caddy
  • Global options, sites, snippets, named routes, single-site files without braces, and imported fragments
  • Certificates and keys referenced by tls <cert> <key> and ca_root

Explicit boundaries

  • Diagnostics are editor feedback, not a substitute for caddy validate or caddy adapt against the target build and its plugins before reload or deployment.
  • Node.js is required for validation, completion, hover, and navigation; without it only syntax highlighting, comments, and live templates work.
  • The Caddy binary runs only when you invoke one of its optional actions. Certificate insights read only files inside the project unless you allow other paths, and never show private key content.
  • When filing public issues, use a minimal sanitized Caddyfile and remove hosts, addresses, credentials, and certificates.
Read the security policy

Get help, verify changes, or contribute

Issues and release history stay with the source repository so the evidence remains public.

Need this kind of workflow inside your team?

Start with a bounded workflow review. Product support stays in public issues; organization-specific discovery and implementation follow a private path.

Review the engagement