VSCode extension that provides language support for Carvel YTT (YAML Templating Tool) files.
- 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
- YTT blocks (
- Support for nested YTT directives
- Proper indentation handling
#@ if data.values.enabled:
apiVersion: v1
kind: ConfigMap
metadata:
name: test-config
data:
key1: value1
#@ end
apiVersion: v1 # Click the fold icon here
kind: Service
metadata:
name: test-service
spec:
ports:
- port: 80
protocol: TCP
- VSCode 1.96.0 or higher
- Install through VS Code extensions
- Search for "Carvel YTT Language Support"
- Click Install
Please report any issues on the GitHub repository.
Initial release:
- Basic YTT syntax highlighting
- Code folding support
- YAML resource folding