Skip to content

Instantly share code, notes, and snippets.

@compressed
Created November 26, 2013 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save compressed/7652431 to your computer and use it in GitHub Desktop.
Save compressed/7652431 to your computer and use it in GitHub Desktop.
# /Users/<user>/Library/Application Support/Sublime Text 2/Packages/User
# comment-param.sublime-snippet
<snippet>
<content><![CDATA[
# @param [${1:class}] ${2:arg} - ${3:comment}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cprm</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
# comment-return.sublime-snippet
<snippet>
<content><![CDATA[
# @return [${1:class}] ${2:comment}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cret</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment