Traefik Config (GMM) — VS Code Extension

Traefik Proxy configuration intelligence with a real language server. Completion, official-reference hover, diagnostics and an outline for static configuration, file-provider routing, Docker/Compose/Swarm labels and Traefik Kubernetes CRDs, for Traefik 2.11 and 3.8.
Works in VS Code and every Open VSX editor (VSCodium, Cursor, Windsurf, Gitpod, Eclipse Theia).
Built and maintained by Juan Torchia as part of GMM Software Solutions.

Supported configuration
- Static
traefik.yml, traefik.yaml and traefik.toml files.
- Dynamic file-provider YAML and TOML: HTTP, TCP and UDP routers, services, middlewares and TLS.
- Case-insensitive
traefik.* Docker, Compose and Swarm labels inside Compose YAML.
- Traefik Kubernetes
IngressRoute, Middleware, TCP and UDP CRDs (focused validation and outline).
- Version-aware reference catalogs for Traefik 2.11 and 3.8, generated from pinned official documentation.
The extension deliberately does not register a replacement YAML language. Ordinary YAML and Compose files without Traefik labels get no diagnostics, completion, hover or outline entries.
Features
Diagnostics

- Unknown keys, and keys that only exist in the other Traefik version.
- Router rule syntax checks (unbalanced expressions), including v2/v3 matcher differences such as named
HostRegexp placeholders.
- Undefined service, middleware, entryPoint and certificate-resolver references across the workspace (
api@internal and other provider references are understood).
- Routers without a rule or service, and duplicate routers.
- Conservative security lint: dashboard/API on the insecure entryPoint, dashboard routers without authentication, HTTP entryPoints without an HTTPS redirect.
- TLS lint: TLS 1.0/1.1, weak cipher suites and
insecureSkipVerify.
Every rule can be disabled independently in Settings.
Completion and hover

Context-aware completion for static options, routers, services, middlewares and TLS, with hover links to the official Traefik reference of the selected version.

Docker, Compose and Swarm labels

traefik.* labels are completed and validated segment by segment, in both list and map syntax.
Outline

Routers, services and middlewares appear in the Outline view and breadcrumbs.
Certificate insights

certFile/keyFile entries of the file provider show subject, issuer, validity, SANs and fingerprint on hover, with warnings for expired or expiring certificates and key mismatches.
With the free CertView extension installed, an Open in CertView CodeLens appears above the certificate.


Settings
| Setting |
Default |
Description |
traefik.version |
3.8 |
Traefik reference version (2.11 or 3.8) used for validation and completion. |
traefik.validate.enable |
true |
Enable Traefik diagnostics. |
traefik.completion.enable |
true |
Enable context-aware completion. |
traefik.tls.lint.enable |
true |
Check TLS options against conservative Mozilla-compatible guidance. |
traefik.security.lint.enable |
true |
Report exposed dashboard/API and clearly unsafe HTTP/TLS configurations. |
traefik.certificates.diagnostics |
true |
Inspect file-provider certificates for expiry and key mismatches. |
traefik.certificates.expiryWarningDays |
30 |
Days before expiry that trigger a warning. |
traefik.certView.codeLens |
true |
Show Open in CertView above file certificate entries. |
Privacy and trust
Editing and validation do not execute Traefik, Docker or kubectl. Certificate inspection reads only files inside the workspace. Private key material is never shown or transmitted. No telemetry.
Also for JetBrains IDEs
The same language server ships as Traefik Config (GMM) for JetBrains IDEs.
Development
npm install
npm run catalog:check
npm run lint
npm run compile
npm test
npm run build
xvfb-run -a npm run test:integration
npm run package
npm run package:check
The repository uses one root node_modules tree; the client and server are bundled for distribution. README screenshots come from docs/demo with npm run demo:capture and npm run demo:gifs (see docs/release.md).
Support
If this extension saves you time, you can sponsor the work on GitHub or buy me a coffee.
License
MIT