Support floating/sidebar mode for project-wide text search instead of full-screen tab #50282
MagnusPladsen
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
What are you proposing?
The project-wide word/text search (
pane::DeploySearch/project_search::ToggleFocus) should support a side pane or floating modal mode instead of only opening as a full-screen tab that replaces the current editor view.Currently, triggering a project-wide search takes over the entire editor area with a dedicated search tab. The desired behavior is a floating panel or persistent sidebar overlay (similar to VS Code's
Cmd+Shift+Fsidebar search or Neovim's Telescope live_grep) that allows the user to search for text across all project files while still seeing their current editor content alongside the results.Why does this matter?
Loss of context is the core problem. When the project-wide search opens as a full-screen tab, you lose sight of the code you're currently working on. This matters because:
Cmd+Shift+Fopens a search panel in the sidebar — you can see results populating while your editor remains fully visible next to it. In Neovim (Telescope),live_grepfloats over the editor with a preview pane, and your buffer is still visible behind it.Are there any examples or context?
Cmd+Shift+Fopens a search panel in the left sidebar. The current file remains fully visible in the editor. Clicking a result opens it in the editor pane without closing the search panel.live_grepopens a floating window with a results list and live file preview side-by-side. The underlying buffer is dimmed but visible.Cmd+Shift+Fopens a "Find in Files" panel at the bottom of the editor, and results appear in a new buffer — but the editor content remains accessible in its own pane.Every major editor/IDE treats project-wide text search as a panel, sidebar, or floating overlay that coexists with the editor — not a full-screen tab replacement. Zed is the outlier here.
Possible approach
A few options that could work:
"project_search_mode": "sidebar" | "panel" | "tab"so users can choose their preferred behavior. Default to sidebar to match industry standard UX.The project panel and chat panel already prove Zed can render persistent sidebar views — applying the same pattern to project-wide search (with inline result previews and match highlighting) would be the most natural fit.
Beta Was this translation helpful? Give feedback.
All reactions