# Add copy-on-click to diagnostic messages \(\#2634\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5860b7b14326890837bf538ea1cecc6441791fc4

Requested commit: 5860b7b14326890837bf538ea1cecc6441791fc4

Commit: 5860b7b14326890837bf538ea1cecc6441791fc4

Tree: 80bf5603e1bdf343b21f07fe9eb279fabc5f2feb

Author: Mikayla Maki

Committer: GitHub

## Message

```
Add copy-on-click to diagnostic messages (#2634)

I finally got fed up with being unable to copy error messages. This adds
a click target and tooltip to f8-style diagnostics that copies their
text on click.

Release Notes:

- Added the ability to copy under-line diagnostic errors on click
```

## Parents

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

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

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