You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes - there will be a way to use Eclipse-style .ysc (and .sct) models in VSCode (and likely vice versa). Currently you can convert .ysc models into .scm via the cloud editor:
Select 'Folder (Symbol) > New Cloud Statechart > Import Local File' from tool bar and select your .ysc.
The converted statechart should appear.
Select 'Convert to Local Statechart (diskette/save symbol)' from toolbar (only with Chrome & Edge browsers)
alternatively select 'Export Statechart (download symbol) > Export Statechart' from tool bar to save it to the downloads folder
Of course this is a kind of detour and will be more tightly integrated. Please be also aware that the conversion from .ysc to .scm is not complete yet. The diagram requires you to manually fix the layout and some features like sub diagrams are not supported yet.
Okay, I've tried the steps so far, and after manually removing "modelId", and the surrounding "graph" and the complete "genModel" section from the scm file, I am now at least able to see the vscode plugin showing the graphs (and I can edit them).
Of course I would need to rearrange everything, but that's a minor inconvenience, and could be done in some hours.
So far, this looks promising, keep up the good work!
I won't be able to go on testing until there is a way to integrate sub diagrams (a workaround would also be fine for me, for example extracting them into the surrounding diagram) and doing imports for multi-state-machines, and of course integration/includes of c code... I'll simply breathe down your necks while you implement the missing features ;-)
Will there be a migration path?
The text was updated successfully, but these errors were encountered: