Autosave files on close, when setting is afterDelay (#36929)

Closes https://github.com/zed-industries/zed/issues/12149
Closes #35524

Release Notes:

- Improved autosave behavior, to prevent a confirmation dialog when
quickly closing files and using the `afterDelay` setting

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
This commit is contained in:
itsaphel
2025-09-17 13:08:29 +00:00
committed by GitHub
co-authored by MrSubidubi
parent 86834887da
commit c54e294965
5 changed files with 49 additions and 14 deletions
+2
View File
@@ -246,6 +246,8 @@ Define extensions which should be installed (`true`) or never installed (`false`
}
```
Note that a save will be triggered when an unsaved tab is closed, even if this is earlier than the configured inactivity period.
## Autoscroll on Clicks
- Description: Whether to scroll when clicking near the edge of the visible text area.