VSCode Snippets - JAllegre/JAllegre GitHub Wiki
{
"Debug log": {
"scope": "javascript,typescript,typescriptreact,javascriptreact",
"prefix": "*debug",
"body": ["console.log( '***ju***$TM_FILENAME/$TM_LINE_NUMBER' , '$1');"],
"description": "Debug log"
},
"Info log": {
"scope": "javascript,typescript,typescriptreact,javascriptreact",
"prefix": "*info",
"body": ["console.info( '$TM_FILENAME' , '$1');"],
"description": "console info log"
},
"Error log": {
"scope": "javascript,typescript,typescriptreact,javascriptreact",
"prefix": "*error",
"body": ["console.error( '$TM_FILENAME' , '$1');"],
"description": "console error log"
},
"Fat arrow": {
"scope": "javascript,typescript,typescriptreact,javascriptreact",
"prefix": "*fat",
"body": ["($1)=>{$2}"],
"description": "Fat arrow function"
}
}