Created
November 7, 2018 02:45
-
-
Save ajhsu/0f5d8a3a19b9d6482379ceec03d50334 to your computer and use it in GitHub Desktop.
Shortcut to insert `console.log();` in VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "cmd+'", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "console.log(${TM_SELECTED_TEXT}$1)$0;" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://stackoverflow.com/a/46942393/3917353