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

Slash Mark Text Sorter

Slash Mark

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

Slash Mark Text Sorter

Sort selected lines alphabetically inside Visual Studio Code.

Features

• Sort lines A → Z
• Works on selected text
• Fast and simple

Usage

  1. Select lines in your editor
  2. Open Command Palette

Cmd + Shift + P

  1. Run:

Slash Mark: Sort Lines

Example

Before

banana
apple
carrot

After

apple
banana
carrot

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