Created
May 5, 2023 19:43
-
-
Save jacksonpires/a845674863e2722ee98feb7e3da6cac4 to your computer and use it in GitHub Desktop.
VsCode Snippets
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
{ | |
"Print asterisk line": { | |
"prefix": "line", | |
"body": [ | |
"p '*' * 100" | |
], | |
"description": "Print a asterisk line" | |
}, | |
"Print and inspect a element": { | |
"prefix": "insp", | |
"body": [ | |
"p \">>>>>> $1: #{$1.inspect}\"", | |
"p '*' * 100" | |
], | |
"description": "rint and inspect a element" | |
}, | |
"Debug a element": { | |
"prefix": "debug", | |
"body": [ | |
"p \">>>>>> $1: #{$1.inspect}\"", | |
"p '*' * 100" | |
], | |
"description": "print and inspect a element" | |
}, | |
"Debug a Hash element": { | |
"prefix": "hashdebug", | |
"body": [ | |
"pp \">>>>>> $1: #{JSON.pretty_generate($1)}\"", | |
"p '*' * 100" | |
], | |
"description": "rint and inspect a element" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment