mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 23:03:57 +00:00
updated project_search text
This commit is contained in:
parent
4658bc610c
commit
c14a99d8fa
1 changed files with 5 additions and 2 deletions
|
@ -398,7 +398,7 @@ impl View for ProjectSearchView {
|
||||||
match current_mode {
|
match current_mode {
|
||||||
SearchMode::Text => Cow::Borrowed("Text search all files and folders"),
|
SearchMode::Text => Cow::Borrowed("Text search all files and folders"),
|
||||||
SearchMode::Semantic => {
|
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"),
|
SearchMode::Regex => Cow::Borrowed("Regex search all files and folders"),
|
||||||
}
|
}
|
||||||
|
@ -429,10 +429,13 @@ impl View for ProjectSearchView {
|
||||||
} else {
|
} else {
|
||||||
match current_mode {
|
match current_mode {
|
||||||
SearchMode::Semantic => vec![
|
SearchMode::Semantic => vec![
|
||||||
|
"".to_owned(),
|
||||||
semantic_status,
|
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![
|
_ => vec![
|
||||||
|
"".to_owned(),
|
||||||
"Include/exclude specific paths with the filter option.".to_owned(),
|
"Include/exclude specific paths with the filter option.".to_owned(),
|
||||||
"Matching exact word and/or casing is available too.".to_owned(),
|
"Matching exact word and/or casing is available too.".to_owned(),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue