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.

updated project_search text

KCaverlyc14a99d8fa14
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 0fc13d992ca..74635bf53c3 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -398,7 +398,7 @@ impl View for ProjectSearchView {
match current_mode {
SearchMode::Text => Cow::Borrowed("Text search all files and folders"),
SearchMode::Semantic => {
- Cow::Borrowed("Search all files and folders using Natural Language")
+ Cow::Borrowed("Search all code objects using Natural Language")
}
SearchMode::Regex => Cow::Borrowed("Regex search all files and folders"),
}
@@ -429,10 +429,13 @@ impl View for ProjectSearchView {
} else {
match current_mode {
SearchMode::Semantic => vec![
+ "".to_owned(),
semantic_status,
- "ex. 'list all available languages'".to_owned(),
+ "Simply explain the code you are looking to find.".to_owned(),
+ "ex. 'prompt user for permissions to index their project'".to_owned(),
],
_ => vec![
+ "".to_owned(),
"Include/exclude specific paths with the filter option.".to_owned(),
"Matching exact word and/or casing is available too.".to_owned(),
],