YarnSpinnerTool / YarnSpinner

Yarn Spinner is a tool for building interactive dialogue in games!
https://yarnspinner.dev
MIT License
2.3k stars 201 forks source link

Language Server completion does not return command suggestions on first indented line of inline option #336

Closed fmoo closed 1 year ago

fmoo commented 1 year ago

What is the current behavior?

Attempting to autocomplete a <> with the vscode extension as the first line of an option fails and returns "no suggestions".

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

title: Bug1
---
-> Option1
    // Trying to autocomplete a custom command above this line (indented) and command completion does not work.
===

image

What is the expected behavior?

Would expect the typeahead to suggest <<wait>> or <<if>> or <<stop>> etc.

Please tell us about your environment:

Other information

Here's a copy of my assets folder with the bug (title: Bug1): Assets.zip