oni2
oni2 copied to clipboard
Remember open files?
If I launch Oni without any arguments, it re-launches in the context of the last folder I had opened. But it doesn't remember the files I had opened. Is there some sort of workbench setting for "remember opened files"? I find it strange that the Explorer remembers the last folder I had open but the editor doesn't remember the last files I had open.
Note that I'm not talking about closing Oni with unsaved changes. I'm just talking about which (saved, unmodified) files I had open when I last exited Oni.
Thanks for logging the issue @keforbes - related to #639 - but this issue is a bit more scoped (and a good step towards that) - since that issue tracks unsaved changes.
We should persist the open editors, terminals, and split/tab layout - just don't have it hooked up yet. Handling this for saved, unmodified files first, and then the unsaved changes as well for #639 would be ideal
This would require some changes to the Persistence Layer to support it, as well as a strategy for serializing the tabs/splits/editors into persistence.
For me this would be a significant workflow improvement; my PC frequently restarts due to updates and other workspace limitations, and setting up layout/vim tabs with all my current tasks is a bit troublesome after every restart.