Skip to content

Instantly share code, notes, and snippets.

@ethyde
Created September 30, 2014 12:20
Show Gist options
  • Select an option

  • Save ethyde/7d18476b13bb634dbd60 to your computer and use it in GitHub Desktop.

Select an option

Save ethyde/7d18476b13bb634dbd60 to your computer and use it in GitHub Desktop.
Comment snippets for Sublime Text 2
<snippet>
<content><![CDATA[
/* =========================================================================
${1:section-comment-block-name}
========================================================================= */
${0}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>scb</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.css, source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
/**
* ${1:title-description}
*
* ${2:first-sentence-description}
*
* TODO: ${3:todo-statement-description}
*/
${0}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>dcb</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.css, source.less</scope>
</snippet>
<snippet>
<content><![CDATA[
/* ${1:sub-section-comment-block-name}
========================================================================= */
${0}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sscb</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.css, source.less</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment