Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use yaml format with .template files #49

Open
francotiveron opened this issue Feb 28, 2020 · 4 comments
Open

use yaml format with .template files #49

francotiveron opened this issue Feb 28, 2020 · 4 comments

Comments

@francotiveron
Copy link

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?

@aws-scripting-guy
Copy link
Owner

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.

@francotiveron
Copy link
Author

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

image

image

image

@aws-scripting-guy
Copy link
Owner

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

@francotiveron
Copy link
Author

yes I did

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants