VS设置C++代码注释模板
https://blog.csdn.net/qq_40078121/article/details/79837673
<?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title>CPPTemplate</Title> <Shortcut>CPPTemplate</Shortcut> <SnippetTypes> <SnippetType>Expansion</SnippetType> <SnippetType>SurroundsWith</SnippetType> </SnippetTypes> </Header> <Snippet> <Declarations> <Literal> <ID></ID> <ToolTip></ToolTip> <Default></Default> </Literal> </Declarations> <Code Language="cpp"> <![CDATA[//********************** // Method: // Brief: // Returns: //**********************]]> </Code> </Snippet> </CodeSnippet> </CodeSnippets>
少壮不识cpp,老大方知cpp可怕