Created
July 27, 2015 11:16
-
-
Save vladimirgamalyan/e285f4c42d2619c20992 to your computer and use it in GitHub Desktop.
Visual Studio header file with class declaration snippet.
This file contains 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>Header with class declaration</Title> | |
<Description>Code snippet for class declaration</Description> | |
<Shortcut>header</Shortcut> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>name</ID> | |
<ToolTip>Class name</ToolTip> | |
<Default>Foo</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="cpp"><![CDATA[#pragma once | |
class $name$ | |
{ | |
public: | |
$selected$$end$ | |
private: | |
}; | |
]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment