# Show inlay hints on startup for every language server with work events \(\#2686\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 348c93e8bbdb31a8242a21db6eda3b1c6c75deb4

Requested commit: 348c93e8bbdb31a8242a21db6eda3b1c6c75deb4

Commit: 348c93e8bbdb31a8242a21db6eda3b1c6c75deb4

Tree: d0820c4967af0a2c3942ef3a6fefc3f345c84e95

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Show inlay hints on startup for every language server with work events (#2686)

Closes https://linear.app/zed-industries/issue/Z-2537/inlay-hint-issues

Language servers such as typescript-language-servers report a single
work event, ending right after server's startup.

Other servers might send more similar event, also during startup. The
rest of the events are diagnostic-related and we filter them out.

React on such events with /refresh-like hint update, that will check
only the visible part of the editor for hints and might be replaced by
other /refresh requests, if needed.

Release Notes:

- N/A
```

## Parents

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

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

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