Optimize glob filtering of semantic search
Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
parent
e02d6bc0d4
commit
81b05f2a08
4 changed files with 109 additions and 63 deletions
|
@ -669,7 +669,6 @@ impl ProjectSearchView {
|
|||
&mut self,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> Option<(Vec<GlobMatcher>, Vec<GlobMatcher>)> {
|
||||
let text = self.query_editor.read(cx).text(cx);
|
||||
let included_files =
|
||||
match Self::load_glob_set(&self.included_files_editor.read(cx).text(cx)) {
|
||||
Ok(included_files) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue