Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Line SorterNew to Visual Studio Code? Get it now.
Line Sorter

Line Sorter

VentedSea

|
63 installs
| (0) | Free
Sort selected lines by length or alphabetically.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Line Sorter

Line Sorter is a Visual Studio Code extension that allows you to sort selected lines either by length or alphabetically.

Features

  • Sort selected lines by length (shortest to longest)
  • Sort selected lines alphabetically
  • Configurable sorting method

Usage

  1. Select the lines you want to sort in your editor
  2. Right-click and select "Sort Lines" from the context menu
  3. The selected lines will be sorted based on your current configuration

Configuration

You can configure the sorting method in your VS Code settings:

  1. Go to File > Preferences > Settings
  2. Search for "Line Sorter"
  3. Choose your preferred sorting method:
    • "length": Sort lines by length (shortest to longest)
    • "alphabetical": Sort lines alphabetically

Requirements

Visual Studio Code version 1.93.0 or higher.

Known Issues

There are no known issues at this time. If you encounter any problems, please report them on the GitHub repository.

Release Notes

0.0.2

Initial release of Line Sorter.

LICENSE

This project is licensed under the MIT License. See the LICENSE file for details.


Enjoy sorting your lines with Line Sorter!

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