How to create a Visual Studio Surround With code snippet for html:
Visual Studio
Tools ... Code Snippets Manager ... Import ... [filename.snippet]
The snippet file is copied to your Documents directory:
C:\Users\Richard\Documents\Visual Studio 2013\Code Snippets\Visual Web Developer\My HTML Snippets\html-para.snippet
html-para.snippet
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>p</Title>
<Shortcut>para</Shortcut> <!-- type para and press TAB to insert snippet -->
<Description>Insert HTML p element</Description>
<Author>Zuga.net</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Code Language="html"> <!-- begin code here -->
<![CDATA[<p>
$end$$selected$
</p>]]>
</Code> <!-- end code here -->
</Snippet>
</CodeSnippet>
</CodeSnippets>