I have 4 lines like this in vscode:
1 line; 2 line; 3 line; 4 line;
Does vscode have a shortcut that can quickly compact 4 lines to 1 line like this:
Select your code => F1 => "Join Lines"
You can also create a keyboard shortcut for this command editor.action.joinLines
editor.action.joinLines
Default shortcut on Mac is Ctrl+J
1.4m articles
1.4m replys
5 comments
57.0k users