Surround WIth

If you have Web Essentials installed, you can use Shift+Alt+W to surround a selection with a tag.

See http://vswebessentials.com/features/html#surround-with

The poor person's "surround with", when you don't have web essentials.

  1. Select your text
  2. Press Ctrl-X to cut it to clipboard
  3. Type your tag, which Visual Studio will automatically close with your cursor remaining in the middle of the start and end tag
  4. Press Ctrl-V to re-insert your text between the tags

--http://stackoverflow.com/a/35178430/49

Source

results matching ""

    No results matching ""