Skip to content

Getting started

Rutger Schurgers edited this page Aug 24, 2019 · 1 revision

Installing the code snippets

Working with StoryScript, you really want to use the code snippets available. Copy the StoryScriptSnippets.code-snippets file from the StoryScript\CodeSnippets folder to the StoryScript.vscode folder. Now, whenever you start typing in a .ts, .js or .html file, you can quickly set up locations, items, barriers etc. by starting with ss (for StoryScript) and then the piece of code you need, e.g. ssLocation. Press CTRL-SPACE to get autocomplete to show if it doesn't automatically, then press ENTER when the right snippet is highlighted.

Clone this wiki locally