Skip to content

VS Code Extension - Unable to select definitions file on yarn project #125

@dogboydog

Description

@dogboydog

What is the current behavior?

Open this commit of the Godot plugin https://github.com/YarnSpinnerTool/YarnSpinner-Godot/tree/3e61ede884c0e550645e0de65ff0f4304b841080

What is the expected behavior?

The definitions file would open without error

The definitions file is offered to select when looking at the yarn project, but clicking it opens a tab with the following error. The VS Code extension seems to be assuming the parent directory of the YSLS json file is // (the root directory of the filesystem.

Image

If I click the ysls JSON file directly, it displays in VSCode without issue . The problem just seems to be with relating the yarn project to the definitions file.

Image

Please tell us about your environment

  • Operating System: Confirmed on Linux and Mac

  • Yarn Spinner Version: 3.2.0

  • Extension Version: 3.2.107

  • Unity Version: n/a

Other information

Add tags

VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions