intellj idea中支持 go helm tpl 文件识别

tpl 后缀的文件,在 Helm 中用来作为 kubernetes 各 yaml 资源文件的生成模版,一般只要支持Kubernetes部署的开源应用,基本都会封装成 Helm 从而简化部署,但正常情况下 IDEA 的编辑器是不会识别 .tpl 结尾的文件,因为 Go 默认只识别 *.gohtml,所以我们先在 IDEA 的插件市场安装 Go 和 Go Template 插件,然后再 File Types 中, 找到 Go Template files 新增关联后缀即可

intellj idea中支持 go helm tpl 文件识别_第1张图片

你可能感兴趣的:(Kubernetes,intellij-idea,golang,java)