Add visual customization section to documentation (#33133)

Release Notes:

- Improved settings documentation for [visual customization](https://zed.dev/docs/visual-customization/)
This commit is contained in:
Peter Tripp
2025-06-21 22:55:53 -04:00
committed by GitHub
parent 3cb4342a76
commit 8d05f6fdd3
4 changed files with 585 additions and 14 deletions
+17
View File
@@ -12,3 +12,20 @@ The naming convention of these databases takes on the form of `0-<zed_channel>`:
- 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.** If your issue continues after restarting Zed and regenerating a new database, please [file an issue](https://github.com/zed-industries/zed/issues/new?template=10_bug_report.yml).
## Settings
You can customize workspace restoration behavior with the following settings:
```json
{
// Workspace restoration behavior.
// All workspaces ("last_session"), last workspace ("last_workspace") or "none"
"restore_on_startup": "last_session",
// Whether to attempt to restore previous file's state when opening it again.
// E.g. for editors, selections, folds and scroll positions are restored
"restore_on_file_reopen": true,
// Whether to automatically close files that have been deleted on disk.
"close_on_file_delete": false
}
```