upvote
Look at how Jetbrains IDEs do it. It's a solved UX problem, as far as I'm concerned.

Jetbrains opens up a lightweight floating panel which can also be docked. So you can choose how to view the results. Like Zed, the results view is live editable, even when searching across multiple files.

The floating panel mode is good because you can do a quick search, look at it, and just whisk it away with one key. Opening results as a tab isn't terrible, but mixes one UI (search, very ephemeral) with another (editing, less ephemeral). (Zed also has this thing where search results also show in the right-hand side panel, which I've always found confusing.)

Another thing Jetbrains does better here is to remember your search settings. Your last search is always the default, whereas Zed forgets it every time. Jetbrains also has really nice file scoping via a dropdown, so it's very quick to search all non-test files, for example.

Zed keeps stealing great features from Jetbrains, so I'm sure it's just a matter of time before this gets better.

reply
> How else are you going to have “a quick glance at code” across project files without using a new view for that?

By showing the text around match inline with the search result in the tree. Especially useful if you do not expect to edit every search result. If you do expect to edit every search result, then Zed's multibuffer is arguably better/ faster.

reply
Just look at the PR, it's shows how it will look like. It's modal instead of a persistent tab.
reply