Created
January 15, 2015 21:24
-
-
Save kube/134200fd5cfbf160bd7a to your computer and use it in GitHub Desktop.
Class Header : Sublime 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
<snippet> | |
<content><![CDATA[ | |
#ifndef ${1:CLASS}_HPP | |
#define ${1:CLASS}_HPP | |
class ${2:ClassName} { | |
public: | |
${2:ClassName}(); | |
${2:ClassName}(const ${2:ClassName}& ${3:instance}); | |
~${2:ClassName}(); | |
${2:ClassName}& operator=(const ${2:ClassName}& ${3:instance}); | |
private: | |
${4:} | |
}; | |
#endif | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>classHeader</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.c++</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment