Skip to content

Instantly share code, notes, and snippets.

@sturmenta
Last active June 2, 2026 01:56
Show Gist options
  • Select an option

  • Save sturmenta/eb93a8e1367d445b2bb81f5263db05f7 to your computer and use it in GitHub Desktop.

Select an option

Save sturmenta/eb93a8e1367d445b2bb81f5263db05f7 to your computer and use it in GitHub Desktop.
VSCode snippets
{
// TODO: remember: save changes of this on https://gist.github.com/sturmenta/eb93a8e1367d445b2bb81f5263db05f7
//
// ──── global ─────────────────────────────────────────────────────────────────────────────
//
"space-m": {
"prefix": "sp",
"body": [
"// ─────────────────────────────────────────────────────────────────────────────"
],
"description": "spacer medium"
},
// ──── react native ────────────────────────────────────────────────────────────────────────────
//
"border red": {
"prefix": "brr",
"body": [
"borderColor: 'red',",
"borderWidth: 1,"
],
"description": "border red"
},
"style": {
"prefix": "st",
"body": [
"style={styles.$1}",
],
"description": "style"
},
// ──── js / ts ────────────────────────────────────────────────────────────────────────────
//
"normal console.log": {
"prefix": "cl",
"body": [
"console.log('$1')"
],
"description": "normal console.log"
},
"console.log": {
"prefix": "clg",
"body": [
"console.log(`$1`, $1)"
],
"description": "console.log"
},
"console.log json": {
"prefix": "clj",
"body": [
"console.log(`$1`, JSON.stringify($1, null, 2))"
],
"description": "console.log json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment