-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Zed still includes project directory in file search results after hiding root #45135
Copy link
Copy link
Closed
Copy link
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:searchbuffer search, project search, etcbuffer search, project search, etcarea:settings/uiFeedback for Zed's settings UIFeedback for Zed's settings UIfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Metadata
Metadata
Assignees
Labels
.contrib/good first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorsarea:searchbuffer search, project search, etcbuffer search, project search, etcarea:settings/uiFeedback for Zed's settings UIFeedback for Zed's settings UIfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Reproduction steps
Hit
cmd-pto trigger file search, and look at search results.Current vs. Expected behavior
Prior to
project_panel.hide_rootsetting being added, the directories of file results didn't include the project directory. Disabling that setting removed the root directory in the project panel, but it still remains in the search results.In the screenshot below, my project root directory is called "core", so I would be great if
core/*was excluded from the directory names.Zed version and system specs
Zed: v0.217.1+stable.98.56049ac3b58f2da9e171c3fee318f7d4944b0159 (Zed)
OS: macOS 26.2
Memory: 8 GiB
Architecture: aarch64