# agent: Improve edit file tool card \(\#29448\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 128b7d224533fb48c1d8de6c2d027ac04c35f147

Requested commit: 128b7d224533fb48c1d8de6c2d027ac04c35f147

Commit: 128b7d224533fb48c1d8de6c2d027ac04c35f147

Tree: 53de7ac41dd563efe068ce15c8d2902d25f38b19

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Improve edit file tool card (#29448)

⚠️ Work in progress until all of the to-dos are knocked out:

- [x] Disable soft-wrapping
- [x] Make it foldable only after a certain number of lines
- [x] Display tool status errors
- [x] Fix horizontal scroll now that we've disabled soft-wrap
- [ ] Don't render unnecessary extra lines (will be added later, on a
follow-up PR)

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Michael Sloan <mgsloan@gmail.com>
```

## Parents

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

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