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

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

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

Visibility: public

Requested revision: 0b0a161626d4d58f2afefaf24ceb9b38e1fbf8c8

Requested commit: 0b0a161626d4d58f2afefaf24ceb9b38e1fbf8c8

Commit: 0b0a161626d4d58f2afefaf24ceb9b38e1fbf8c8

Tree: d0820c4967af0a2c3942ef3a6fefc3f345c84e95

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Show inlay hints on startup for every language server with work events

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.

```

## Parents

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

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