#An ETA for VS Code Extension fully supports XState v5?
1 messages · Page 1 of 1 (latest)
Sorry, it's taking longer than expected. We can ship it sooner if we don't do bidirectional editing. What are you looking to do with the extension?
I expect the same functionality as the web editor but also a better layout. I made default machine on web (1st image), pasted its generated code to VS Code and opened in extension, i.e. XState Editor (2nd image). The latter graph is autolayouted but it looks ugly. I hope the layout could be synced between web editor and VS Code extension.
What do you mean by "better layout"?
Do you want the same layout that you get from the web editor?
I rely on the VS Code Extension to edit my state machines visually, as well as run the typegen. I've got a project on XState v4 I have been putting off updating until the VS Code Extension supports v5. Although I am looking forward to the inspector changes in v5.
I'm unclear if the VS Code Extension provides some functionality if I am using v5, or is v5 not supported at all?
It provides some support for v5
Kind of that. I know same layout is impossible as web editor doesn't support autolayout but I want VS Code Extension's autolayout results a layout like the 1st image but the layout like 2nd one is difficult to understand.
Or I want a feature to sync a layout in extension from web editor because I want both layout in web editor and extention to be same.
The web editor does support autolayout