Add a variant of pane::DeploySearch
that automatically filters for only files matching the current file extension
#23379
elkowar
started this conversation in
Feature Ideas / Enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check for existing issues
Describe the feature
Currently, project search just searches through all files, and allows you to manually add a filter for specific files / filetypes.
My proposal would be to add an action that checks the filetype of the currently opened window before opening the search pane, and adds a
*.rs
(or whatever the filetype is) filter automatically.In most cases, when I'm searching through my project, I want to search for a specific doc comment, or a mention of something in my markdown documentation. Most of the time, when I want to do that, I'm already in a file with the same filetype. Thus, having an action that would look at the filetype and search through only files matching that would massively improve the convenience of project search, especially for projects that have, for example, mdbook documentation in the same repo as the main codebase.
Zed Version and System Specs
Zed: v0.167.1 (Zed Preview)
OS: Linux Wayland fedora 40
Memory: 31.3 GiB
Architecture: x86_64
GPU: AMD Radeon RX 580 Series (RADV POLARIS10) || radv || Mesa 24.1.7
If applicable, add mockups / screenshots to help present your vision of the feature
No response
Beta Was this translation helpful? Give feedback.
All reactions