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 (4)

Collapse
 
stefan_predolac_cd372ceed profile image
Stefan Predolac

Thanks

Collapse
 
abdraevaraisa profile image
Raisa Abdraeva

Thank you!

Collapse
 
farhanacsebd profile image
Farhana Binte Hasan

You r welcome...

Collapse
 
eddiee_adamss profile image
kanixro

thanks a lot man