- Create a new XML File
- Copy de template bellow.
- Change de Title, Author, Descsription, Shortcut and mainly the CDATA content.
- Save as FileName.snippet
- Open
Tool - Snippet Manager and import the XML file into CSharp "My Code Snippets" - Done
Now, you just need to write the Shortcut and press TAB.
1 2 3 4 5 6 7 8 9 10 11 12 13 | <?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title></Title> </Header> <Snippet> <Code Language=""> <![CDATA[]]> </Code> </Snippet> </CodeSnippet> </CodeSnippets> |
Nenhum comentário:
Postar um comentário