Created
November 10, 2018 17:57
-
-
Save enheit/cf1a92531e5b48d8e0d3b6fc6ad8800c to your computer and use it in GitHub Desktop.
Print message to the console using file name and line number as a prefix
This file contains hidden or 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
Show hidden characters
{ | |
"Console log decorator": { | |
"prefix": "cl", | |
"scope": "javascript,typescript", | |
"body": ["console.log('($TM_FILENAME:$TM_LINE_NUMBER)', $0);"], | |
"description": "Print message to the console using file name and line number as a prefix" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment