Created
August 27, 2023 21:22
-
-
Save themegabyte/f0b39588c085230f42f78a8a7613e34a to your computer and use it in GitHub Desktop.
This JSON keybinding configuration sets up a key combination (Ctrl+Shift+L) to insert a snippet that creates a console.log statement containing the selected text, if any, alongside its value, in a 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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "console.log(\"${TM_SELECTED_TEXT}\", ${TM_SELECTED_TEXT});" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment