Skip to content
| Marketplace
Sign in
Visual Studio>Tools>LineSorter
LineSorter

LineSorter

Integrated Informatics Inc

|
203 installs
| (2) | Free
Sort selected lines (case-insensitive). Also remove duplicates (case insensitive). Useful for organizing includes and using declarations.
Download

This tool allows you to highlight a selection of lines, and then sort them in a case-insensitive way. It will also remove duplicates. Useful for organizing your include statements.

###How to use:

  • Highlight a selection of lines in the text editor
  • Go to tools > "sort selected lines (unique case-insensitive)

And the lines will be sorted. Any whitespace on either side of the lines is removed.

For example, the input

Gamma
gamma
   beta
betA
alpha

becomes

alpha
beta
Gamma

###Keyboard shortcut

If you wish to map the command to a keyboard shortcut, you can go to Tools > Options > Environment > Keyboard, and find it under SortLines.SortUniqueCaseInsensitive

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