# Select and scroll to the best search match in settings \(\#53916\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b928e595c2061a871ce83e05a71a5d893353d225

Requested commit: b928e595c2061a871ce83e05a71a5d893353d225

Commit: b928e595c2061a871ce83e05a71a5d893353d225

Tree: c760bb9337f344f8d685ed49f2043c4c784269ab

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Select and scroll to the best search match in settings (#53916)

When adding code lens to the long list of search items, I've failed to
find it when searching, as we always select first item in the matches
list, which is not necessarily the best one.

Left is before, right is after:


https://github.com/user-attachments/assets/9033dfd8-abde-4a45-a214-ae859105d6ad


Release Notes:

- Improved settings search ergonomics
```

## Parents

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

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