Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>yaml-diffNew to Visual Studio Code? Get it now.
yaml-diff

yaml-diff

Rohit Gorana

|
458 installs
| (0) | Free
YAML diff with sort
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

YAML Diff

A Visual Studio Code extension that allows you to compare two YAML files by sorting their keys.

Features

  • Compare two YAML files by sorting their keys alphabetically.
  • Deeply compare nested objects and arrays within the YAML files.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X.
  3. Search for "YAML Diff" and click Install.

Usage

  1. Open a YAML file in the editor.
  2. Trigger the "Compare YAML" command (e.g., via the command palette or a keyboard shortcut).
  3. Select another YAML file for comparison.
  4. The extension will sort the keys in both files and display a message indicating they are ready for comparison.

Known Issues

  • None at the moment.

Contributing

Contributions are welcome!

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft