From c16c9819d1cb01bee9cc9813a6a6f64dbb2fbf8e Mon Sep 17 00:00:00 2001 From: aws-scripting-guy Date: Sun, 24 Jan 2016 11:09:59 +0100 Subject: [PATCH] corrected to support json filetype --- README.md | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dbf5edf..e1997ea 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ Usage 1. Install the extension 2. Create **new file** - 3. Set syntax to **JavaScript** + 3. Set syntax to **JSON** 4. Type **start** and press ```tab``` key to populate basic template skeleton 5. **Start typing** desired **resource name** and hit ```tab``` key -> **Note:**Syntax have to be set to JavaScript for now. I will try to manage file extension in next release. +> **Note:**CloudFormation support works with JSON syntax selected or .json file extension. I will try to manage more file extensions in next release. ![New template file](https://raw.githubusercontent.com/aws-scripting-guy/cform-VSCode/master/assets/new_template_file.gif) diff --git a/package.json b/package.json index 2ae211c..cba95fd 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "name": "cform", "displayName": "CloudFormation", "description": "VS Code Plugin for CloudFormation", - "version": "0.0.3", + "version": "0.0.4", "publisher": "aws-scripting-guy", "icon": "images/ManagementTools_CloudFormation.svg", "repository": { @@ -21,7 +21,7 @@ "contributes": { "snippets": [ { - "language": "javascript", + "language": "json", "path": "./snippets/snippets.json" } ]