{ // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. // Placeholders with the same ids are connected. // Example: "if name is main": { "scope": "python", "prefix": "ifn", "body": [ "if __name__ == '__main__':", "\t$0" ], "description": "" }, "for in": { "scope": "python", "prefix": "fori", "body": [ "for ${1:item} in ${2:items}:", "\t$0" ], "description": "" }, "for in range": { "scope": "python", "prefix": "forr", "body": [ "for ${1:i} in range($2):", "\t$0" ], "description": "" }, "lambda": { "scope": "python", "prefix": "lamb", "body": [ "lambda ${1:arg} : $0", ], "description": "" }, "map input": { "scope": "python", "prefix": "mapi", "body": [ "map(${1:func}, input($2).split())" ], "description": "" }, "html boiler plate": { "scope": "html", "prefix": "html", "body": [ "", "", "", "", " ", " ", "", " ${1:Basic HTML5}", " ", " ", "", " ", " ", " ", " ", " ", "", " ", " ", " ", "", " ", "", "", "", "", " ${0:}", " ", "", "", "", ], "description": "" }, "css boiler plate": { "scope": "css", "prefix": "css", "body": [ "html {", " font-family: sans-serif;", " font-size: 100%;", " box-sizing: border-box;", "}", "", "*, ::before, ::after {", " box-sizing: inherit;", "}", "", "html, body {", " margin: 0;", " padding: 0;", " width: 100vw;", " min-height: 100%;", " text-rendering: optimizeLegibility;", "}", "" ] }, "consoleLog": { "scope": "javascript", "prefix": "clg", "body": "console.log(${1:object});", "description": "Displays a message in the console" }, "consoleLogObject": { "scope": "javascript", "prefix": "clo", "body": "console.log('${1:object} :>> ', ${1:object});", "description": "Displays an object in the console with its name" } }