-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doc on workspace persistence (#25062)
Release Notes: - N/A
- Loading branch information
1 parent
813d870
commit 0e38d2d
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Workspace Persistence | ||
|
||
Zed creates local SQLite databases to persist data relating to its workspace and your projects. These databases store, for instance, the tabs and panes you have open in a project, the scroll position of each open file, the list of all projects you've opened (for the recent projects modal picker), etc. You can find and explore these databases in the following locations: | ||
|
||
- macOS: `~/Library/Application Support/Zed/` | ||
- Linux: `~/.local/share/Zed` | ||
- Windows: `%LOCALAPPDATA%\Zed` | ||
|
||
The naming convention of these databases takes on the form of `0-<zed_channel>`: | ||
|
||
- Stable: `0-stable` | ||
- Preview: `0-preview` | ||
|
||
**If you encounter workspace persistence issues in Zed, deleting the database and restarting Zed often resolves the problem, as the database may have been corrupted at some point.** |