statelyai / studio-issues

Report issues found in Stately Studio
5 stars 0 forks source link

[VSC extension] Auto save setting blurs the visual editor when it saves the file of the machine #34

Open Devessier opened 2 years ago

Devessier commented 2 years ago

I have auto save setting in my VSCode set to afterDelay. The Visual Editor is blurred every time VSCode saves the file of the machine.

My current workaround is to deactivate this setting in the workspaces I use the Visual Editor.

Exact config line in my settings.json:

"files.autoSave": "afterDelay"

Current version of XState VSCode extension: v1.5.6.

Demonstration:

https://user-images.githubusercontent.com/29370468/151705467-7e25e372-24e1-4b3a-8926-7a91a016e511.mp4

mattpocock commented 2 years ago

https://discord.com/channels/795785288994652170/912333666456313907/975590792208973854

This should be pushed up the priority order. What should we do about it @davidkpiano?

One option is to add a throttle after right-panel changes, meaning that new changes in the left panel cannot re-save it for 200ms or so.