Skip to content

Instantly share code, notes, and snippets.

@sp90
Last active January 20, 2023 10:13
Show Gist options
  • Save sp90/cac2d4047be2f0b9d41d392aec1bfee8 to your computer and use it in GitHub Desktop.
Save sp90/cac2d4047be2f0b9d41d392aec1bfee8 to your computer and use it in GitHub Desktop.
VScode snippet so when you write log and hit "tab" then you get a console log with multiple cursors
{
"Print to console": {
"prefix": "log",
"body": ["console.log('$1: ', $1);", "$2"],
"description": "Log output to console"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment