aws-scripting-guy/cform-VSCode

use yaml format with .template files

francotiveron opened this issue · 4 comments

After installing the template, in "Contributions" I find the following languages file extensions:

json -> .json .cform .template
yaml -> .yml .yaml

I am using .template files but yaml format. How do I tell the plugin to interpret my .template files as yaml and not json?

Hi, the quickest way would be to activate language interpreter by shortcut ctrl + K + m while in VS Code and pick YAML to switch any file to YAML support.

Alternatively, just select YAML in bottom right corner "Language Mode" as file type for your .template.

Thanks. Now I get a number of errors (the template is in use and works) like:

image

image

image

Did you enable yaml custom tags in your User settings as mentioned here?
#22

yes I did

image