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

Sort

Henrik Sjööh

|
45,368 installs
| (13) | Free
Sort lines or words.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sort for Visual Studio Code

Installation

Install from inside Code by bringing up running the install extension command and typing sort. Check out the documentation for more information.

Usage

Select some text and press shift+alt+s to sort your current selection, press again to reverse the sort.

If you have selected multiple lines, lines will be sorted. If you have selected part of a line, words will be sorted.

Configuration

If you want to set the locale for the sort, you can do so with the sort.locale option. Then the function localeCompare is used for the sort, follow the link for more information.

{
	"sort.locale": "sv",
}
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft