DEV Community

Cover image for console.log() Shortcut in VS Code๐Ÿš€๐Ÿš€
Farhana Binte Hasan
Farhana Binte Hasan

Posted on • Edited on

console.log() Shortcut in VS Code๐Ÿš€๐Ÿš€

๐Ÿ‘‰ First of all

  • Open VS Code
  • Press ctrl + shift + p
  • Choose Snippets: Configure Snippets
  • Then choose your programming language
  • Then apply this code ๐Ÿ‘‡โœŒ๏ธโœŒ๏ธ
{
    "Console.log": {
        "prefix": "clg",
        "body": "console.log('$1');",
        "description": "Console Log"
    }
}
Enter fullscreen mode Exit fullscreen mode

Top comments (3)

Collapse
 
eddiee_adamss profile image
kanixro

thanks a lot man

Collapse
 
abdraevaraisa profile image
Raisa Abdraeva

Thank you!

Collapse
 
farhanacsebd profile image
Farhana Binte Hasan

You r welcome...