diff --git a/snippets/html.json b/snippets/html.json new file mode 100644 index 0000000..fa81832 --- /dev/null +++ b/snippets/html.json @@ -0,0 +1,10 @@ +{ + "Print base": { + "prefix": "!html5", + "body": [ + "\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t
\n\t\t\n\t\n\n", + "$0" + ], + "description": "Creates an html5 template" + } +} diff --git a/snippets/javascript.json b/snippets/javascript.json index 3555551..84bf0e0 100644 --- a/snippets/javascript.json +++ b/snippets/javascript.json @@ -3,5 +3,13 @@ "prefix": "console", "body": ["console.info(\"__${1:Place}!\")", "$0"], "description": "Logs to console" + }, + "Create Docstring": { + "prefix": "docstring jsdoc", + "body": [ + "/**\n* ${1:Description}\n* @param {${2:Type}} ${3:Name}\n* @returns {${4:Type}} ${5:Name}\n*/", + "$0" + ], + "description": "Creates a new JSDoc string" } } diff --git a/snippets/typescript.json b/snippets/typescript.json index d0185d2..dc089f6 100644 --- a/snippets/typescript.json +++ b/snippets/typescript.json @@ -16,5 +16,13 @@ "$0" ], "description": "Defines a JSX component" + }, + "Create Docstring": { + "prefix": "docstring jsdoc", + "body": [ + "/**\n* ${1:Description}\n* @param {${2:Type}} ${3:Name}\n* @returns {${4:Type}} ${5:Name}\n*/", + "$0" + ], + "description": "Creates a new JSDoc string" } }