TranquilMarmot / YarnLoom

Visual Studio Code extension for editing YarnSpinner files
MIT License
18 stars 2 forks source link

Saving a node should save the entire `.yarn` file. #18

Open weaversam8 opened 2 years ago

weaversam8 commented 2 years ago

Describe the bug When you click on a node to edit it, it opens a temporary file of the format nodename.yarn.node. Edits to this file are copied to the .yarn file you're editing, but for some reason, the .yarn file is left unsaved. This means the user must hit Ctrl-S twice. Once in the .yarn.node file, and then once in the .yarn file.

Expected behavior The .yarn file should be saved automatically whenever a .yarn.node file is edited and saved.

Actual behavior The .yarn file is not saved automatically, even when .yarn.node files are saved.

Environment