# Enable project search on type by default \(\#62506\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1475887fafd7c68ba4e2cd328ddb3120fc3d6bc2

Requested commit: 1475887fafd7c68ba4e2cd328ddb3120fc3d6bc2

Commit: 1475887fafd7c68ba4e2cd328ddb3120fc3d6bc2

Tree: 4d8a80a898264450cee7c5513de6b228379b3010

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Enable project search on type by default (#62506)

Closes https://github.com/zed-industries/zed/issues/9318

Most of the diff is tests.

Notable behavior changes during this mode, compared to current mode:

* unsaved changes in multi buffer won't spawn any "save or not" pop-ups
during typing — submitting the query still does it, as before.
Unsaved files will stay so after being sorted out on typing: we cannot
save them by default as file-less buffers need a save modal; Zed should
already be able to persist and restore such changes on restart.

* gutter may jump during search, if new excerpts with large line numbers
appear during query input — yet it would not shrink back to avoid
excessive flickering and rewraps

Release Notes:

- Enabled project search on type by default (use `{ "search": {
"search_on_type": false } }` to restore the previous behavior)
```

## Parents

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

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