Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sort EverythingNew to Visual Studio Code? Get it now.
Sort Everything

Sort Everything

Benny Neugebauer

|
8,229 installs
| (4) | Free
Sort JSON, YAML and plain text files by using a keyboard shortcut.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sort Everything

This VS Code extension sorts JSON, YAML, and plain text files. It can sort the selected lines of code or the entire file (if no lines are selected).

Show sorting

Installation

Open the extensions' marketplace site and click "Install".

Alternative:

  1. Start Visual Studio Code
  2. Press Ctrl + Shift + X to browse for extensions
  3. Search for bennycode.sort-everything
  4. Select the "Sort Everything" extension and click on "Install"

Usage

By default, sorting is applied when using the shortcut Alt + Shift + L.

You can change the keybinding in your Keyboard Shortcuts editor:

Keyboard Shortcuts

The Command ID is bennycode.sort-everything.sortFile.

Features

  • Sort plain text file
  • Sort plain text selection
  • Sort JSON file
  • Sort JSON selection
  • Sort YAML file
  • Sort YAML selection
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft