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).
| |