Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Automatically enable project search filters when using `Search Inside`

Joseph T. Lyons8288e5591d89
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 52247b9bc0d..6bd48138ac7 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -893,6 +893,7 @@ impl ProjectSearchView {
search
.included_files_editor
.update(cx, |editor, cx| editor.set_text(filter_str, cx));
+ search.filters_enabled = true;
search.focus_query_editor(cx)
});
}