I’m writing my game in Visual Studio Code, using the excellent ChoiceScript plugin (side note to whoever made the plugin: thank you, you have saved me so many hours!!). Only thing is, the plugin doesn’t doesn’t autocomplete $ to ${}, or @ to @{|}. Is there a way to teach it to do this, like cside does?
I’m writing a game with lots of NPC and player gender options, so it would really speed me up!
I don’t think the shortcut exists in the extension. An alternative is to create code snippets, it’s relatively simple and you can assign a keyboard shortcut to the snippet, which is functionally what you want.
Open VS Code, then the command pallet (Ctrl + Shift + P)
Search for Configure Snippets
In the language option, type in choicescript
Replace (or merge) the contents with the object below: