tim-koehler / Helm-Intellisense

Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense&ssr=false#overview
MIT License
1.6k stars 23 forks source link
autocomplete helm helm-intellisense helm-templates intellisense kubernetes vscode vscode-extension

Helm-Intellisense

![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/Tim-Koehler.helm-intellisense?style=flat-square) ![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/Tim-Koehler.helm-intellisense?style=flat-square) ![GitHub Repo stars](https://img.shields.io/github/stars/tim-koehler/Helm-Intellisense?label=GitHub%20Stars&style=flat-square) ![GitHub issues](https://img.shields.io/github/issues-raw/tim-koehler/Helm-Intellisense?style=flat-square) ### Extension to help writing Helm-Templates by providing intellisense ![Demo Gif](https://imgur.com/pC2vuoN.gif)

Features

Commands

Settings

Setting Description
helm-intellisense.customValueFileNames Defines list of possible files containing values
(default: values.yaml)
helm-intellisense.lintFileOnSave If set to true the Helm-Intellisense: Lint command will be executed on save (default: true)
helm-intellisense.excludeFromLinting Define a list of filenames which should be excluded from linting.
Wildcards are also possible (Example: *.gotmpl)

Multiple value files (overriding)

When mulitple value files are defined they are parsed from the bottom up:

"helm-intellisense.customValueFileNames": [
    "prod-values.yaml",
    "dev-values.yaml",
    "values.yaml"
]

In this case values will be overwritten/merged by dev and dev by prod. This also means that the linter will only throw an error if a certain key is not found in any of the specified files.