create custom snippet vscode
/*To create or edit your own snippets, select User Snippets
under File > Preferences > User Snippets (Code > Preferences on macOS),
and then select the language for which the snippets should appear*/
// Snippets are written in JSON Example:
{
"Your Snippet Name": {
"prefix": "ysn",
"body": [
"//Here you type all the code that should appear",
"//Separating each line",
"//Remember to add tabs with \t"
]
}
}