Created
July 17, 2020 10:00
-
-
Save wader/44c56e72052a4b3a4656133b69aa775c to your computer and use it in GitHub Desktop.
vscode c printf snippets
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
| { | |
| "printf": { | |
| "prefix": "pf", | |
| "body": "printf(\"${0}\\\\n\");", | |
| "description": "Snippet for printf %d variable" | |
| }, | |
| "printf %d variable": { | |
| "prefix": "pfd", | |
| "body": "printf(\"${1:var}: %d\\\\n\", ${1:var});", | |
| "description": "Snippet for printf %d variable" | |
| }, | |
| "printf %x variable": { | |
| "prefix": "pfx", | |
| "body": "printf(\"${1:var}: %x\\\\n\", ${1:var});", | |
| "description": "Snippet for printf %x variable" | |
| }, | |
| "printf %s variable": { | |
| "prefix": "pfs", | |
| "body": "printf(\"${1:var}: %s\\\\n\", ${1:var});", | |
| "description": "Snippet for printf %s variable" | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment