Does vscode have plug-ins or shortcut keys to compress the code?

how does vscode make the code one line, remove all spaces, and become more concise?

Mar.17,2021

Select the rows you want to merge, press Ctrl + Shift + P to bring up the command window, type join lines , and confirm that you can merge multiple lines.


Open preferences-> Keyboard shortcuts-> search joinLines; and then set your shortcut key and enter.

< hr >
my version is 1.23.1
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e494e7-59d71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e494e7-59d71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?