Skip to content
| Marketplace
Sign in
Visual Studio Code>Keymaps>Multiline WrapNew to Visual Studio Code? Get it now.
Multiline Wrap

Multiline Wrap

Russell Carpenella

|
2,083 installs
| (5) | Free
Wrap each line of multiline selections.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Multiline Wrap

This plugin allows you to wrap multiline selections, treating each line as it's own selection.

Usage

Select something → ctrl+shift+P → «Wrap selected text»

or

press ', ", «, ], or ) — both opening or closing symbol would work. Or use cmd+shift+" to wrap with a defualt character of your choice (in extension options).

features

Also in extension options:

  • Default multiline wrap
  • Include trailing commas
  • Include trailing comma on last line
  • Enable/disable keybindings

Planned future features

  • ~~Option to ignore leading whitespace.~~
  • More advanced patterns.
  • Custom patterns.
  • Prove P = NP.

What's the point?

Can't you alredy use multiple cursors to wrap lines with quotes?

Yes. You can also use RegExp find & replace to achieve something similar.

I created this extension for my own use case, which involves copying (sometimes tens/hundreds of) thousands of GUIDs e.g. from a spreadsheet, and using them in Javascript scripts (Javascripts?). So I spent some hours making this, to save myself some minutes. :)

Acknowledgments

This extension is very much inspired and based on Konstantin Gorodinskiy's extension, "Wrap Selection". If you like this extension, go give their extension a star on GitHub.

Also, thank you to the AI chatbot who helped me complete the unit test.

Found a bug? Request a feature?

Submit an issue (or Pull Request) on GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft