learn-yaml installs statistics
By Microsoft (227 listings) · VS Code Marketplace · Programming Languages
YAML schema validation and auto-completion for learn.microsoft.com authoring
learn-yaml has 506,997 recorded installs on VS Code Marketplace, an increase of 0.4% over the past 30 days, ranking #843 of 2,515 tracked listings.
Rating: 5.00 / 5 from 3 ratings
About learn-yaml
Docs YAML Extension
Provides Docs YAML support via yaml-language-server.
Schemas supported to validate
There are two types of files that we run schema validation against:
-
For YAMLMime-based YAML files, we use the the YAMLMime to identify the schema to validate against according to our config. When schema files get updated, the extension will automatically pick up the latest version after a small latency (around 10 min). There is no need to reopen or reload the extension. When a new schema is added to this repository, we will to update the config and release a new version of the extension.
-
For TOC files, there is no YAMLMime at the beginning of the file, so we use the filename to identify the schema. The file name is case-sensitive;
toc.ymlandTOC.ymlwill both be be validated against the TOC schema, buttoc.yamland other variations will not.
Features
- The code intellisense is more intelligent now; the extension can provide the intellisense according to the schema structure, not just text mapping. To invoke intellisense, hit
ctrl + spaceto view the list of schema options. - The extension can generate an input template for
object(including required properties and optional properties with default value). - You can type a
-and hitctrl + spaceto trigger the intellisense for generating a new array item.
1. YAML validation
- Apply schema validation according to the YAMLMime
- Detects errors such as:
- Invalid property value type
- Out of enum scope
- Required property is missing
- Unexpected property

2. Auto completion
- Generate input template for whole YAML file
For now, VS Code doesn't support auto-completion on a comment, so don't type
#to get intellisense, just typeYamlMimeor YAMLMime type.
- Generate input template for an object (if provided by schema)
Including required properties and optional properties with default value
- Support properties intellisense (if provided by schema)
- Enumerated property value recommendation (if provided by schema)
Intellisense is automatically triggered by what you have typed, but you can also hit <kbd>Ctrl</kbd> + <kbd>Space</kbd> to get what you can type.

3. Hover support
- Hovering over a property shows description (if provided by schema)

Extra knowledge
YAMLMime
A YAML syntax to identify the mime type of this YAML document, which will decide the applied schema type, such as:
### YamlMime:Module
....
- YAMLMime should be the first line
- There are should be a space between triple
#and case-sensitiveYamlMime - There are should not be extra space between
YamlMime, Mime-type and:
Developer support
Developing the client side
- Install prerequisites:
- latest Visual Studio Code
- Node.js v6.0.0 or higher
- Fork this repository.
- Build this project.
# clone your forked repository $ git clone https://github.com/{your-github-name}/docs-yaml $ cd docs-yaml # install npm dependencies $ npm install # compile $ npm run compile # open the project in vscode $ code . - Make changes as necessary and the run the code using F5. Refer to VS Code documentation on how to run and debug the extension.
- Create a pull-request to GitHub repository and we will review, merge it and publish new version extension regularly.
Contributing to schemas and snippets
Coming soon.
License
All contributions are welcome!
Description from the VS Code Marketplace listing.
- azure
- docs
- yaml
- YamlMime
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 learn-yaml alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=docsmsft.docs-yaml. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.