Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

priyanshu92/SurroundSelection

Repository files navigation

Surround Selection

🚨Project Archived: This functionality is now natively available in Visual Studio🚨

Build status

Download this extension from the VS Gallery or get the CI build.


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

About

This is a visual studio extension which lets you quickly wrap the selected text with double quotes, single quotes, braces etc..

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages