Join lines by separator specified in settings, keybinding argument or entered by hand.

"joinLines.defaultSeparator": "__",

Demo with custom entered separator

{
"key": "ctrl+shift+9",
"command": "joinLines.joinLines",
"args": {
"separator": "###",
"wrapLeft": "'",
"wrapRight": "'"
}
}
| Command |
Description |
| joinLines.joinLines |
Join Lines: Join |
| joinLines.joinLinesWithSeparator |
Join Lines: Join With Separator |
| Setting |
Default |
Description |
| joinLines.defaultSeparator |
" " |
Symbol that is used when joining lines. |
| joinLines.wrapLeft |
"" |
Symbol to wrap the line on the left. |
| joinLines.wrapRight |
"" |
Symbol to wrap the line on the right. |