# Strip off inlay hint data that should be resolved \(\#2843\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 54bcef94203ecf6662cf8d25bb4795463bd82706

Requested commit: 54bcef94203ecf6662cf8d25bb4795463bd82706

Commit: 54bcef94203ecf6662cf8d25bb4795463bd82706

Tree: e00a08e670fcce5b9ea156451b61fc52e11a5906

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Strip off inlay hint data that should be resolved (#2843)

Part of
https://linear.app/zed-industries/issue/Z-2750/investigate-performance-of-collaborating-on-large-files-with-inlay

* Declares client capabilities for hint resolution, marking both fields
available for resolution (`textEdits` and `tooltop`) as resolvable.
We do not use these fields anymore, hence can omit resolving them for
now, but LSP servers can omit them during general hint requests.

* Removes `tooltip` and replaces complex `label` with its simple string
counterpart for clients' hint responses from host: both should be
resolved through host later

Release Notes:

- Reduces collab mode clients' inlay hint footprint by enabling hint
data resolution
```

## Parents

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

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

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