Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Surround Selection
Surround Selection

Surround Selection

Priyanshu Agrawal

|
7,679 installs
| (12) | Free
The quickest way to wrap some selected text with various delimiters like double quotes, single quotes, braces etc.
Download

The quickest way to wrap some selected text with various delimiters like double quotes, single quotes, braces etc.

See the change log for changes and road map.

Features

Toggle wrapping of selected text in visual studio with:

  • Double Quotes " "
  • Single Quotes ' '
  • Braces { }
  • Parentheses ( )
  • Square Brackets [ ]
  • Angular Brackets < >
  • Asterisk * *
  • Multiline Comment /* */
  • Hash # #

Steps to use

Select any text in Visual Studio and right click.

Select and Right Click

Then select Surround Selection With and then select the option you want eg. Double Quotes to get the text wrapped around that.

Hotkeys

Action Hotkey
Double Quotes Ctrl+K, Ctrl+'
Asterisk Ctrl+K, Ctrl+*
Angular Brackets Ctrl+K, Ctrl+<
Hash Ctrl+K, Ctrl+#
Parentheses Ctrl+K, Ctrl+(
Square Brackets Ctrl+[, Ctrl+[
Curly Braces Ctrl+K, Ctrl+{

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

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