Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember open files? #3470

Open
keforbes opened this issue Apr 28, 2021 · 2 comments
Open

Remember open files? #3470

keforbes opened this issue Apr 28, 2021 · 2 comments
Labels
A-persistence Area: Persisted settings and configuration A-ux Area: Overall user experience and aesthetics enhancement New feature or request

Comments

@keforbes
Copy link

keforbes commented Apr 28, 2021

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.

@bryphe bryphe added A-persistence Area: Persisted settings and configuration A-ux Area: Overall user experience and aesthetics enhancement New feature or request labels Apr 29, 2021
@bryphe
Copy link
Member

bryphe commented Apr 29, 2021

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.

@ghost
Copy link

ghost commented Jul 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-persistence Area: Persisted settings and configuration A-ux Area: Overall user experience and aesthetics enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants