Save when you click away from the codetour tab
a-guy-on-the-internet opened this issue · comments
Hey, I'm an idiot that likes to look at different tabs while also writing tours and not hit save before doing so. Therefore, I'd like an option that causes the current tour being edited to be autosaved when a user clicks away from the tab it is in. Below is an example of that behavior that I don't like.
example.mov
Also, If this is simple fix feel free to drop the relevant file paths I'd need to change (or at least the general areas I need to be aware of) and I could do it myself.
Thanks for reporting this! I'm surprised that the text would be cleared when you switch to and from this tab. It's possible that this is a bug in VS Code, so I'll have to investigate it and see what's going on. Stay tuned!
This is still an issue today. To anyone who stumbles upon this, my work around is to write out all my tour steps in a .md
file first and then paste them in to individual tour steps once I'm done.