Last active
December 15, 2015 09:09
-
-
Save void-main/5235763 to your computer and use it in GitHub Desktop.
Sample sublime text 2 snippet, just fillin the boilerplate for python file. Select `New Snippet` from `Tools` menu, copy the gist content to the file, save it as `XXXX.sublime-snippet`, and you are all set. For more detailed information, check it out here: `http://docs.sublimetext.info/en/latest/reference/snippets.html` Attention please, the ext…
This file contains hidden or 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[ | |
#coding=utf-8 | |
def main(): | |
${1:pass} | |
if __name__ == '__main__': | |
main() | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>boilerplate</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