Skip to content

Instantly share code, notes, and snippets.

@JakeTRogers
Created May 13, 2019 18:04
Show Gist options
  • Save JakeTRogers/951ca7998a9971910f6921ce8352b439 to your computer and use it in GitHub Desktop.
Save JakeTRogers/951ca7998a9971910f6921ce8352b439 to your computer and use it in GitHub Desktop.
Visual Studio Code Puppet Class Skeleton
"Class Header": {
"prefix": "classheader",
"body": [
"# @summary ${1:A short summary of the purpose of this class}",
"#",
"# @example",
"# include ${2}${TM_FILENAME_BASE}",
"#",
"# @param ${3:foo}",
"# ${4:Explanation of what this parameter affects.}",
"#",
"class $2${TM_FILENAME_BASE} (",
"\tString $$3",
") {",
"\t${0}",
"}"
],
"description": "Create Puppet Strings class header"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment