vscode-join-lines
Join lines by separator specified in settings, keybinding argument or entered by hand.
Demo
Demo with settings.json:
"joinLines.defaultSeparator": "__",
Demo with custom entered separator
From a keybinding
{
"key": "ctrl+shift+9",
"command": "joinLines.joinLines",
"args": {
"separator": "###",
"wrapLeft": "'",
"wrapRight": "'"
}
}
Commands (2)
Command |
Description |
joinLines.joinLines |
Join Lines: Join |
joinLines.joinLinesWithSeparator |
Join Lines: Join With Separator |
Settings (3)
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. |
| |