# Save edited buffers before running a task \(\#48861\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0698eccebb3ddd89e00081af3a8aab540478d220)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0698eccebb3ddd89e00081af3a8aab540478d220

Requested commit: 0698eccebb3ddd89e00081af3a8aab540478d220

Commit: 0698eccebb3ddd89e00081af3a8aab540478d220

Tree: 076c042edc84fbf0c8e97c34ba9805c3f69a1310

Author: Andrei Benea

Committer: GitHub

## Message

```
Save edited buffers before running a task (#48861)

Save edited buffers before running a task

Introduces a new task field for configuring which buffers are saved. For
now, this defaults to saving all buffers, but in the future we could
have a global task template to configure this setting for dynamically
created tasks.

Needed for #10251.

Release Notes:

- Edited buffers are now saved before running a task. This can be
configured with the new "save" field in `tasks.json`.

---------

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
```

## Parents

- [80bbeda58664a97612125448eaafdc8ad047af58](https://git.cafe/gitcafe/zed/commit/80bbeda58664a97612125448eaafdc8ad047af58?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0698eccebb3ddd89e00081af3a8aab540478d220?format=markdown)
