Skip to content

Instantly share code, notes, and snippets.

@prandelicious
Last active June 13, 2023 04:21
Show Gist options
  • Save prandelicious/88941b81f23a26c6000b41a03f300c64 to your computer and use it in GitHub Desktop.
Save prandelicious/88941b81f23a26c6000b41a03f300c64 to your computer and use it in GitHub Desktop.
[VS Code snippet] Create default python header content
"Default Header": {
"prefix": "header",
"body": [
"#!/usr/bin/env python",
"# -*- coding: utf-8 -*-",
"\"\"\"${1:Custom module name or brief description}.\n",
"${2:Enter description of this module}",
"",
"__author__ = ${3:[authors]}",
"__copyright__ = Copyright 2018",
"__version__ = 1.0",
"__maintainer__ = ${3:[maintainer]}",
"__email__ = ${4:[email]}",
"__status__ = ${5|Dev,Test,Prod|}",
"\"\"\"",
"$0"
],
"description": "Default header"
}
@prandelicious
Copy link
Author

prandelicious commented Aug 25, 2017

To add this in VS Code, navigate to File -> Preferences -> User Snippets

Usage: header<tab>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment