Last active
June 13, 2023 04:21
-
-
Save prandelicious/88941b81f23a26c6000b41a03f300c64 to your computer and use it in GitHub Desktop.
[VS Code snippet] Create default python header content
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
"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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To add this in VS Code, navigate to File -> Preferences -> User Snippets
Usage:
header<tab>