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

Serialize the unsaved changes of files not associated with a worktrees #15098

Open
2 tasks done
JosephTLyons opened this issue Jul 24, 2024 · 5 comments
Open
2 tasks done
Labels
feature [core label] serialization Restoration of the editor state after a restart workspace Feedback for workspace management, layout, interactions, etc

Comments

@JosephTLyons
Copy link
Collaborator

JosephTLyons commented Jul 24, 2024

Check for existing issues

  • Completed

Describe the feature

Check for existing issues

  • Completed

Describe the feature

Since the following PRs, Zed now restores unsaved content:

There is a limitation currently. Zed will serialize the changes for files if there are worktrees / projects in the project panel, but it will not do so for instances of Zed that have no worktrees / projects in the project panel - supporting this case would be a nice addition to the workspace serialization story.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@JosephTLyons JosephTLyons added feature [core label] workspace Feedback for workspace management, layout, interactions, etc serialization Restoration of the editor state after a restart labels Jul 24, 2024
@selfish
Copy link

selfish commented Jul 24, 2024

Very interested in this.
Thanks!!

@emadpres
Copy link

This issue is literally the only reason I'm still using Sublime as my daily driver. I'd love to draft some notes or paste a code snippet, and still be able to quit the app without being bugged for saving.

@emadpres
Copy link

Any update on this?

@fboleto
Copy link

fboleto commented Jan 24, 2025

A lot of us are still using VS code, or sublime due to the lack of this feature. Anyone has a timeline for this feature to be released?

@AldoMX
Copy link

AldoMX commented Feb 3, 2025

The dev team has explained that they architected the editor around the projects feature, so this request is not feasible without a large refactor that decouples the projects feature.

They hadn't prioritized this request due to the effort required by that refactor.

The workaround is to create an empty folder and open it as a project.

If you ask me, I would suggest to the dev team to use /dev/null as the default project, and leave the refactor for later, people need this feature today, not until 2030.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [core label] serialization Restoration of the editor state after a restart workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

5 participants