Created
August 25, 2017 08:33
-
-
Save prandelicious/b218fcbf34a42282b81511d73e557365 to your computer and use it in GitHub Desktop.
[VS Code snippet] Docstring template for functions
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
"Function Docstring": { | |
"prefix": "docf", | |
"body": [ | |
"\"\"\"${1:Short description of what function does}.", | |
"${2:Long description here}.\n", | |
"Args:", | |
"\t${3:arg1} (${4:type}): ${5:Description of $3}\n", | |
"Returns:", | |
"\t${6:type}: ${7:Description of return value}", | |
"\"\"\"", | |
"$0" | |
], | |
"description": "Docstring template for functions" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment