YarnSpinnerTool / VSCodeExtension

The Visual Studio Code extension for Yarn Spinner.
MIT License
28 stars 14 forks source link

Yarn Spinner Visual Studio Code Extension Graph View Is Broken #40

Open KesKim opened 1 year ago

KesKim commented 1 year ago

What is the current behavior?

Visual Studio Code extension is installed and I open a file TestScript, then press "Show Graph". The Graph displays empty, "Jump to Node" lists no nodes, and pressing "Add Node" gives this error pop-up:

"Can't add node: file:///d://YarnProjects/TestScript.yarn is not a part of any project" I have omitted a part of the file path above, it does print accurately to match my project location.

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

title: Start
---
A: Hello! It's me, World!
B: Hi, World!
-> Punch World
    Ouch!
-> Hug World
    Awwh! <3
===

What is the expected behavior?

Based on documentation the VS Code extension should just work; no specific installation or Yarn project setup steps are ever mentioned for it.

Please tell us about your environment:

RyanMakesMovies commented 1 year ago

I'm getting the same error.

boermansjo commented 1 year ago

Have you tried using the Pre-Release Version in Visual Studio Code ?

The example provided works using that version.

RyanMakesMovies commented 1 year ago

@boermansjo That got it working for me. Thanks!

boermansjo commented 1 year ago

@RyanMakesMovies Glad it is working. This is a nice tool but sadly not the right one for me. I need something similar but with a json export.