Ulf Schneider
h
Blog
b
Search
s
Sorting lines in VS Code
Select the area you want to sort
Press
⌘
-
SHIFT
-
P
on a Mac and
CTRL
-
SHIFT
-
P
on Windows to open the command palette
After the
>
prompt type
sort lines
and select one of the two commands
Sort Lines Ascending
or
Sort Lines Descending
←
Newer post
Open a folder with VS Code from the command line
Older post
→
A quick ride into the evening