Skip to content

Instantly share code, notes, and snippets.

@prandelicious
Created August 25, 2017 08:33
Show Gist options
  • Save prandelicious/b218fcbf34a42282b81511d73e557365 to your computer and use it in GitHub Desktop.
Save prandelicious/b218fcbf34a42282b81511d73e557365 to your computer and use it in GitHub Desktop.
[VS Code snippet] Docstring template for functions
"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