Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Carvel YTT Language SupportNew to Visual Studio Code? Get it now.
Carvel YTT Language Support

Carvel YTT Language Support

Gorkem Ozlu

|
71 installs
| (1) | Free
Language support for Carvel YTT (YAML Templating Tool)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Carvel YTT Language Support

VSCode extension that provides language support for Carvel YTT (YAML Templating Tool) files.

Features

  • Syntax highlighting for YTT directives
  • Code folding support for:
    • YTT blocks (#@ if/end, #@ for/end, #@ def/end)
    • YAML resources (starting with apiVersion:)
    • YAML blocks and lists
  • Support for nested YTT directives
  • Proper indentation handling

Examples

YTT Directive Folding

#@ if data.values.enabled:
apiVersion: v1
kind: ConfigMap
metadata:
  name: test-config
data:
  key1: value1
#@ end

Resource-Level Folding

apiVersion: v1  # Click the fold icon here
kind: Service
metadata:
  name: test-service
spec:
  ports:
  - port: 80
    protocol: TCP

Requirements

  • VSCode 1.96.0 or higher

Installation

  1. Install through VS Code extensions
  2. Search for "Carvel YTT Language Support"
  3. Click Install

Known Issues

Please report any issues on the GitHub repository.

Release Notes

0.0.1

Initial release:

  • Basic YTT syntax highlighting
  • Code folding support
  • YAML resource folding
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft