Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Join LinesNew to Visual Studio Code? Get it now.
Join Lines

Join Lines

Alexander

|
2,112 installs
| (3) | Free
Join Lines in editor (with custom separator)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-join-lines

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

Demo

demo

Demo with settings.json:

"joinLines.defaultSeparator": "__",

demo_settings

Demo with custom entered separator

demo_enter_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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft