lostintangent / codeswing

VS Code extension for building web applications ("swings") using a interactive and editor-integrated coding environment
https://aka.ms/codeswing
MIT License
977 stars 45 forks source link

Re-open preview window for "Scratch" swings after reloading VS Code #4

Closed lostintangent closed 2 years ago

lostintangent commented 3 years ago

Currently, if you have a swing open and then restart VS Code, the swing files (e.g. index.html) and WebView remain open, but the preview window isn’t properly hooked up. As a result, the user has to re-open the swing in order to start working on it again.

To make this experience smoother, we should detect the restart and then re-initialize the swing automatically.

lostintangent commented 3 years ago

Note that this issue doesn't impact "workspace swings", since CodeSwing will automatically re-configure them upon reload.

lostintangent commented 2 years ago

Closing this for now, since no one has actually asked for it 👍🏼