-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsertAuthorDateAndComment.snippet
38 lines (38 loc) · 1.44 KB
/
InsertAuthorDateAndComment.snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Insert author, date and comment</Title>
<Author>George Tzikas</Author>
<Description>Visual Studio code snippet to insert an author's name, the date and a comment in C++ projects</Description>
<Shortcut>adc</Shortcut>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>Author</ID>
<ToolTip>Replace with the author's name.</ToolTip>
<Default>Author</Default>
</Literal>
<Literal>
<ID>Date</ID>
<ToolTip>Replace with the current date.</ToolTip>
<Default>Date</Default>
</Literal>
<Literal>
<ID>Comment</ID>
<ToolTip>Replace with the comment.</ToolTip>
<Default>Comment</Default>
</Literal>
</Declarations>
<Code Language="CPP" Kind="any">
<![CDATA[// Author: $Author$
// Date: $Date$
// Comment: $Comment$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>