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.

assistant_tools: Rename `RegexSearchTool` module to match the others (#27001)

Marshall Bowersb70f21c08deb
diff --git a/crates/assistant_tools/src/assistant_tools.rs b/crates/assistant_tools/src/assistant_tools.rs
index 17d80264cdd..21eab555986 100644
--- a/crates/assistant_tools/src/assistant_tools.rs
+++ b/crates/assistant_tools/src/assistant_tools.rs
@@ -6,7 +6,7 @@ mod list_directory_tool;
mod now_tool;
mod path_search_tool;
mod read_file_tool;
-mod regex_search;
+mod regex_search_tool;
mod thinking_tool;
use assistant_tool::ToolRegistry;
@@ -20,7 +20,7 @@ use crate::list_directory_tool::ListDirectoryTool;
use crate::now_tool::NowTool;
use crate::path_search_tool::PathSearchTool;
use crate::read_file_tool::ReadFileTool;
-use crate::regex_search::RegexSearchTool;
+use crate::regex_search_tool::RegexSearchTool;
use crate::thinking_tool::ThinkingTool;
pub fn init(cx: &mut App) {
diff --git a/crates/assistant_tools/src/regex_search.rs b/crates/assistant_tools/src/regex_search_tool.rs
similarity index 100%
rename from crates/assistant_tools/src/regex_search.rs
rename to crates/assistant_tools/src/regex_search_tool.rs