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
2.1m questions
2.1m answers
60 comments
57.0k users