Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Traefik Config (GMM)New to Visual Studio Code? Get it now.
Traefik Config (GMM)

Traefik Config (GMM)

gmm

| (0) | Free
| Sponsor
Traefik v2.11 and v3 configuration intelligence for static files, file-provider routing, Docker/Compose labels and Kubernetes CRDs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Traefik Config (GMM) — VS Code Extension

CI License: MIT

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.

Tour: diagnostics, hover docs, completion, Docker labels and certificates


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

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

Completion

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

Hover

Docker, Compose and Swarm labels

Label completion

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

Outline

Outline

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

Certificate insights

Certificate hover

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.

Open in CertView

CertView

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft