1.新建一个.xml文件,文件名称改为自己需要的;
2.复制一下代码端:
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>note</Title>
<Shortcut>note</Shortcut>
<Description>note 语句的代码段</Description>
<Author>VanSix</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>FUN</ID>
<ToolTip>功能</ToolTip>
<Default></Default>
</Literal>
<Literal>
<ID>IN</ID>
<Too