Skip to content

Instantly share code, notes, and snippets.

@andrew-codechimp
Created August 10, 2020 14:46
Show Gist options
  • Select an option

  • Save andrew-codechimp/44e00c8ce4a6e8d7c72ae7a872847c7f to your computer and use it in GitHub Desktop.

Select an option

Save andrew-codechimp/44e00c8ce4a6e8d7c72ae7a872847c7f to your computer and use it in GitHub Desktop.
VS Code Global Snippet Creation
{
"Slim Log Error": {
"scope": "perl",
"prefix": "slimlogerror",
"body": [
"\\$log->error(\"$1\");"
],
"description": "Slim Error Log"
},
"Slim Setting Title": {
"scope": "html",
"prefix": "slimsettingtitle",
"body": [
"[% WRAPPER setting title=\"${1:titlestring}\" desc=\"\" %]",
"<div class=\"prefDesc\">[% \"${2:descriptionstring}\" | string %]</div>",
"[% END %]"
],
"description": "Slim Setting Title"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment