FIRST WAY
- vs code open kore
- ctrl + shift + p press korte hobe
- snippets likhe search dite hobe
- erpor j language e dorkar, oi language select kore, amader configure korte hobe.
{
"Console.log": {
"prefix": "clg",
"body": "console.log($1);",
"description": "Console Log"
}
}
ANOTHER WAY
- first step:
- second step (click the red mark like the image)
- third step (write 11 to 18no. line of code)
- code
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+r",
"command": "code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "console.log(`${TM_SELECTED_TEXT}$1`$2);"
}
}
]
Top comments (1)
super, thank you