# Support basic inlay hints \(\#2660\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 167dd1c5d2af0de00ebac1c31910aaf3d6cb8d08

Requested commit: 167dd1c5d2af0de00ebac1c31910aaf3d6cb8d08

Commit: 167dd1c5d2af0de00ebac1c31910aaf3d6cb8d08

Tree: e3dc2801ea41cdb4de90446e5a9a272fda47a8d2

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Support basic inlay hints (#2660)

Part of https://github.com/zed-industries/community/issues/138
Part of https://linear.app/zed-industries/issue/Z-477/inlay-hints

Supports LSP requests for inlay hints, LSP /refresh request to reload
them.
Reworks DisplayMap and underlying layer to unite suggestions with inlay
hints into new, `InlayMap`.
Adds a hint cache inside `Editor` that tracks buffer/project/LSP request
events, updates the hints and ensures opened editors are showing up to
date text hints on top.

Things left to do after this PR:
* docs on how to configure inlay hints
* blogpost
* dynamic hints: resolve, hover, navigation on click, etc.

Release Notes:

- Added basic support of inlay hints
```

## Parents

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

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

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