Shortcut to "console.log()" in Vscode

Asked

Viewed 865 times

-1

There is, in Visual Studio Code, a way to insert console.log() so I start typing? Or else a keyboard shortcut?

2 answers

0

  • Type'log' and press the tab key (log + tab).
  • If it doesn’t work, when type 'log' choose the option that will appear 'log log to the console' and try again.

0

Searching the VS code, I saw that when typing 'log', appears the console forecast.log(). should serve to others who need something similar.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.