From 3fc745b2aab6992f05d777170c9576962591521f Mon Sep 17 00:00:00 2001 From: jpinkney Date: Sun, 30 Dec 2018 22:45:10 -0500 Subject: [PATCH 1/3] Added yaml.schemaStore setting --- README.md | 1 + package.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 013cfbf3..a916ee19 100755 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ The following settings are supported: * `yaml.completion`: Enable/disable autocompletion * `yaml.schemas`: Helps you associate schemas with files in a glob pattern * `yaml.customTags`: Array of custom tags that the parser will validate against. It has two ways to be used. Either an item in the array is a custom tag such as "!Ref" or you can specify the type of the object !Ref should be by doing "!Ref Scalar". For example: ["!Ref", "!Some-Tag Scalar"]. The type of object can be one of Scalar, Sequence, Mapping, Map. +* `yaml.schemaStore`: When set to true the YAML language server will pull in all available schemas from [JSON Schema Store](http://schemastore.org/json/) * `[yaml]`: VSCode-YAML adds default configuration for all yaml files. More specifically it converts tabs to spaces to ensure valid yaml, sets the tab size, and allows live typing autocompletion. These settings can be modified via the corresponding settings inside the `[yaml]` section in the settings: * `editor.insertSpaces` * `editor.tabSize` diff --git a/package.json b/package.json index bc4e14e9..946f9d11 100755 --- a/package.json +++ b/package.json @@ -127,6 +127,11 @@ "type": "array", "default": [], "description": "Custom tags for the parser to use" + }, + "yaml.schemaStore": { + "type": "boolean", + "default": true, + "description": "Automatically pull available YAML schemas from JSON Schema Store" } } }, From 8a8d96508599f5b346f5326bcb5961655554dfb4 Mon Sep 17 00:00:00 2001 From: jpinkney Date: Mon, 7 Jan 2019 15:36:47 -0500 Subject: [PATCH 2/3] fixup --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 946f9d11..42224645 100755 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "default": [], "description": "Custom tags for the parser to use" }, - "yaml.schemaStore": { + "yaml.schemaStore.enable": { "type": "boolean", "default": true, "description": "Automatically pull available YAML schemas from JSON Schema Store" From 63931f60cb41abd8bc7a88300648e4286a6e6ae9 Mon Sep 17 00:00:00 2001 From: jpinkney Date: Sat, 2 Feb 2019 11:39:29 -0500 Subject: [PATCH 3/3] Fixup --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a916ee19..d8c1c3ba 100755 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The following settings are supported: * `yaml.completion`: Enable/disable autocompletion * `yaml.schemas`: Helps you associate schemas with files in a glob pattern * `yaml.customTags`: Array of custom tags that the parser will validate against. It has two ways to be used. Either an item in the array is a custom tag such as "!Ref" or you can specify the type of the object !Ref should be by doing "!Ref Scalar". For example: ["!Ref", "!Some-Tag Scalar"]. The type of object can be one of Scalar, Sequence, Mapping, Map. -* `yaml.schemaStore`: When set to true the YAML language server will pull in all available schemas from [JSON Schema Store](http://schemastore.org/json/) +* `yaml.schemaStore.enable`: When set to true the YAML language server will pull in all available schemas from [JSON Schema Store](http://schemastore.org/json/) * `[yaml]`: VSCode-YAML adds default configuration for all yaml files. More specifically it converts tabs to spaces to ensure valid yaml, sets the tab size, and allows live typing autocompletion. These settings can be modified via the corresponding settings inside the `[yaml]` section in the settings: * `editor.insertSpaces` * `editor.tabSize`