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

Line Utils

Ales Menzel

|
1 install
| (0) | Free
Modify lines of text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Line utils

Credit to https://github.com/Tyriar/vscode-sort-lines which this is based upon.

Provides common line utils useful for development.

Functionality

Sort lines of text in Visual Studio Code. The following types of sorting are supported:

Command Title Comments
lineUtils.sortLines Sort code lines (locale: en) Keybound to F9

Settings

Name Description Default
lineUtils.filterBlankLines (boolean) Filter out blank (empty or whitespace-only) lines. false
lineUtils.sortEntireFile (boolean) Sort entire file if no selection is active. false

Usage

Select the lines to sort, press F9 to sort (or select the command through the command palette).

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