Snippet作成
1.[歯車マーク]-[User Snippets]-[javascript]を選択
2.Snippet登録
{
"Print to console": {
"prefix": "test",
"body": [
"console.log('${1|おはよう,こんにちは,こんばんは|}');",
"$0"
],
"description": "Log output to console"
}
}
Snippet利用
1.prefixに設定した文字を入力
Snippet削除
Macの場合
cd ~/Library/Application\ Support/Code/User/snippets/
rm javascript.json