Giter VIP home page Giter VIP logo

Comments (10)

mattpocock avatar mattpocock commented on July 21, 2024 1

Nope, no filename restriction!

from xstate-tools.

mattpocock avatar mattpocock commented on July 21, 2024 1

@damiensedgwick 100%! Could you add an issue?

from xstate-tools.

mattpocock avatar mattpocock commented on July 21, 2024

Strange, it's showing it for me! Copied and pasted into a new file and it's working.

from xstate-tools.

mattpocock avatar mattpocock commented on July 21, 2024

image

from xstate-tools.

damiensedgwick avatar damiensedgwick commented on July 21, 2024

is it to do with file name, e.g does the file have to follow a pattern such as filename.machine.ts or will it pick up a machine in filenameMachine.ts? Might not be the issue just throwing up ideas.

from xstate-tools.

damiensedgwick avatar damiensedgwick commented on July 21, 2024

That's me all out of ideas on that one then 😅

from xstate-tools.

parker-codes avatar parker-codes commented on July 21, 2024

It was figured out in Discord (yesterday, I think). You have to enable Code Lens for the prompt to appear over the machine definition.

I just tested it and it works! The problem is, I don't like the clutter of Code Lens so this means I have to toggle it in settings before/after using the extension visualizer.

from xstate-tools.

damiensedgwick avatar damiensedgwick commented on July 21, 2024

it would be good to have a command to open the visualiser also I think @mattpocock for those who aren't a fan of the code lense?

from xstate-tools.

damiensedgwick avatar damiensedgwick commented on July 21, 2024

@damiensedgwick 100%! Could you add an issue?

Certainly!

from xstate-tools.

mattpocock avatar mattpocock commented on July 21, 2024

It looks like we can close this issue - looks like a code lens thing.

from xstate-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.