# Refactor LSP adapter methods to compute labels in batches \(\#10097\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 256b446bdf806d214add5b51beb2ddefd638c4e2

Requested commit: 256b446bdf806d214add5b51beb2ddefd638c4e2

Commit: 256b446bdf806d214add5b51beb2ddefd638c4e2

Tree: 5a7e76bad549884b43989b7b9191247bf604c4ec

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Refactor LSP adapter methods to compute labels in batches (#10097)

Once we enable extensions to customize the labels of completions and
symbols, this new structure will allow this to be done with a single
WASM call, instead of one WASM call per completion / symbol.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Co-authored-by: Marshall <marshall@zed.dev>
```

## Parents

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

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