Okay, I’m ridiculously proud of a feature I finally took advantage of in VS Code that’s saved me a lot of work. In my current WIP, I’ve got characters who may be non-binary and use they/them pronouns. To deal with pronouns, I created a set of ${character_he}
and {character_s}
variables so I could write sentences like
${darcy_he} pick${darcy_s} up the book.
The problem is that I keep forgetting to include the _s
variable.
Today I finally created a snippet so that when I type ${
, one of the options is a template that auto-fills the _he
and _s
variables and lets me tab to the verb. If you want to try this yourself, follow the directions to create your own snippet and use the following snippet:
"[Character] verb[s]": {
"prefix": "${",
"body": [
"\\${${1:character}_he} ${2:verb}\\${${1:character}_s}"
],
"description": "[Character] verb[s]"
}