Navigate
n
Back to Top
t
Home
Blog
About
Colophon
RSS
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