Skip to content

Instantly share code, notes, and snippets.

@gistsobo
Created March 1, 2013 09:59
Show Gist options
  • Save gistsobo/5063651 to your computer and use it in GitHub Desktop.
Save gistsobo/5063651 to your computer and use it in GitHub Desktop.
Create block comment for using include and forward declarations
<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