# Display external paths in history \(\#2534\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9cfe39f1aa0c1e849156cec0b6fe4430d44e95f6

Requested commit: 9cfe39f1aa0c1e849156cec0b6fe4430d44e95f6

Commit: 9cfe39f1aa0c1e849156cec0b6fe4430d44e95f6

Tree: ee145916d37c396c30f962779cb4c75ddd6370cb

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Display external paths in history (#2534)

Fixes
https://linear.app/zed-industries/issue/Z-1793/file-finder-external-recent-paths-are-not-rendered-properly

Long paths get trimmed, but same do many of our other elements, such as
type definitions, so I think it's ok for now:

![image](https://github.com/zed-industries/zed/assets/2690773/b8b6588d-6d6b-42db-9085-c741a40b7adb)

Also, we seem to do a lot of odd diagnostics handling on every external
stdlib file opened:

![image](https://github.com/zed-industries/zed/assets/2690773/cd82c54e-7849-46fe-a01c-79bfc5402b7b)
Other external files also emit similar messages, but not that much.
@\mikayla-maki mentioned, that this was happening before, so can be
fixed separately.
The PR adds path printing to these logs.

Release Notes:

* Fixed external files not being displayed properly in the recently
opened list in the file finder panel
```

## Parents

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

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

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