Created
March 1, 2013 09:59
-
-
Save gistsobo/5063651 to your computer and use it in GitHub Desktop.
Create block comment for using include and forward declarations
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[ | |
//------------------------------------------------------------------------------ | |
// ${1:u}${1/(u)|(i)|(f)|.*/(?1:sing)(?2:nclude)(?3:orward declaration)/}s | |
//------------------------------------------------------------------------------ | |
${3} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>cblock</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.c, source.objc, source.c++, source.objc++</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment