

Including required properties and optional properties with default value


Generate input template for an object ( if provided by schema).Generate input template for whole YAML fileįor now, VS Code doesn't support auto-completion on a comment, so don't type # to get intellisense, just type YamlMime or YAMLMime type.Apply schema validation according to the YAMLMime.You can type a - and hit ctrl + space to trigger the intellisense for generating a new array item.The extension can generate an input template for object (including required properties and optional properties with default value).To invoke intellisense, hit ctrl + space to view the list of schema options. The code intellisense is more intelligent now the extension can provide the intellisense according to the schema structure, not just text mapping.The file name is case-sensitive toc.yml and TOC.yml will both be be validated against the TOC schema, but toc.yaml and other variations will not.
Visual studio 2015 intellisense have to hit crtl space update#
When a new schema is added to this repository, we will to update the config and release a new version of the extension.įor TOC files, there is no YAMLMime at the beginning of the file, so we use the filename to identify the schema. There is no need to reopen or reload the extension. When schema files get updated, the extension will automatically pick up the latest version after a small latency (around 10 min). There are two types of files that we run schema validation against:įor YAMLMime-based YAML files, we use the the YAMLMime to identify the schema to validate against according to our config. Provides Docs YAML support via yaml-language-server.
