Created
March 25, 2019 11:22
-
-
Save rzvdaniel/f0646f1e4f45f18b003d75486dafc613 to your computer and use it in GitHub Desktop.
Surround With Braces Visual Studio Snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>braces</Title> | |
<Shortcut>braces</Shortcut> | |
<Description>Code snippet to surround a block of code with braces</Description> | |
<Author>Igor Zevaka</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
<SnippetType>SurroundsWith</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Code Language="csharp"> | |
<![CDATA[{ | |
$selected$ $end$ | |
}]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install it in
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC#\Snippets\1033\Visual C#
to avoid another snippet folder to show up in VS.