Skip to content

Instantly share code, notes, and snippets.

@ajhsu
Created November 7, 2018 02:45
Show Gist options
  • Save ajhsu/0f5d8a3a19b9d6482379ceec03d50334 to your computer and use it in GitHub Desktop.
Save ajhsu/0f5d8a3a19b9d6482379ceec03d50334 to your computer and use it in GitHub Desktop.
Shortcut to insert `console.log();` in VSCode
[
{
"key": "cmd+'",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "console.log(${TM_SELECTED_TEXT}$1)$0;"
}
}
]
@ajhsu
Copy link
Author

ajhsu commented Nov 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment